Skip to content

Commit

Permalink
feat: added docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Jun 15, 2018
1 parent a0f04ab commit 68fd410
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ builds:
- darwin
goarch:
- amd64
# TODO: build a functional docker image
# dockers:
# - image: goreleaser/nfpm
# tag_templates:
# - '{{ .Tag }}'
# - 'v{{ .Major }}.{{ .Minor }}'
# - 'latest'
dockers:
- image: goreleaser/nfpm
tag_templates:
- '{{ .Tag }}'
- 'v{{ .Major }}.{{ .Minor }}'
- 'latest'
changelog:
filters:
exclude:
Expand Down
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM alpine
RUN apk add --no-cache rpm
COPY nfpm /nfpm
ENTRYPOINT ["/nfpm"]

0 comments on commit 68fd410

Please sign in to comment.