Skip to content

Commit

Permalink
release: build dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zegl committed Oct 9, 2018
1 parent b806d19 commit 3841706
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cmd/kube-score/.goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ archive:
windows: Windows
386: i386
amd64: x86_64
dockers:
- image: zegl/kube-score
goos: linux
goarch: amd64
binary: kube-score
skip_push: true
dockerfile: Dockerfile
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down
3 changes: 3 additions & 0 deletions cmd/kube-score/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM scratch
COPY kube-score /
ENTRYPOINT ["/kube-score"]

0 comments on commit 3841706

Please sign in to comment.