Skip to content

Commit

Permalink
build: make docker build work with goreleaser
Browse files Browse the repository at this point in the history
goreleaser 0.40.x still has a bug when building mutliple containers.
The makefile will take care of that for now.
  • Loading branch information
magiconair committed Dec 21, 2017
1 parent 22748fc commit ff02f28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ dockers:
- image: fabiolb/fabio
latest: true
tag_template: '{{ .Version }}-{{ .Env.GOVERSION }}'
- image: magiconair/fabio
latest: true
tag_template: '{{ .Version }}-{{ .Env.GOVERSION }}'

extra_files:
- build/ca-certificates.crt
- fabio.properties
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM scratch
ADD build/ca-certificates.crt /etc/ssl/certs/
ADD ca-certificates.crt /etc/ssl/certs/
ADD fabio.properties /etc/fabio/fabio.properties
ADD fabio /
EXPOSE 9998 9999
Expand Down

0 comments on commit ff02f28

Please sign in to comment.