Skip to content

Commit

Permalink
hotfix: add dockerfile for Goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
lwolf committed Jun 11, 2020
1 parent 7796bde commit cb89101
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ release:
prerelease: true

dockers:
- dockerfile: Dockerfile
- dockerfile: Dockerfile.releaser
binaries:
- kube-cleanup-operator
goos: linux
Expand Down
10 changes: 10 additions & 0 deletions Dockerfile.releaser
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM alpine
MAINTAINER Sergey Nuzhdin <[email protected]>

RUN addgroup -S kube-operator && adduser -S -g kube-operator kube-operator

USER kube-operator

COPY kube-cleanup-operator .

ENTRYPOINT ["./kube-cleanup-operator"]

0 comments on commit cb89101

Please sign in to comment.