Skip to content

Commit

Permalink
Fix missing ca-certificates in alpine 3.5 (gliderlabs#523)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Gilbert authored and mattatcha committed Feb 15, 2017
1 parent 5c5fad0 commit 653db28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ ENTRYPOINT ["/bin/registrator"]

COPY . /go/src/github.com/gliderlabs/registrator
RUN apk --no-cache add -t build-deps build-base go git \
&& apk --no-cache add ca-certificates \
&& cd /go/src/github.com/gliderlabs/registrator \
&& export GOPATH=/go \
&& git config --global http.https://gopkg.in.followRedirects true \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM alpine:3.5
CMD ["/bin/registrator"]

ENV GOPATH /go
RUN apk --no-cache add build-base go git
RUN apk --no-cache add build-base go git ca-certificates
COPY . /go/src/github.com/gliderlabs/registrator
RUN cd /go/src/github.com/gliderlabs/registrator \
&& git config --global http.https://gopkg.in.followRedirects true \
Expand Down

0 comments on commit 653db28

Please sign in to comment.