Skip to content

Commit

Permalink
add CA certificates into pumba Docker image; fixes #122
Browse files Browse the repository at this point in the history
  • Loading branch information
alexei-led committed Mar 12, 2019
1 parent b20712b commit d73c6f7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.2
0.6.3
7 changes: 7 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,18 @@ RUN if [ $RELEASE = true ]; then VERSION=$(cat VERSION) hack/xbuild.sh; fi
# release to GitHub
RUN if [ $RELEASE = true ]; then hack/github_release.sh alexei-led pumba; fi

# get latest CA certificates
FROM alpine:3.9 as certs
RUN apk --update add ca-certificates

#
# ------ Pumba runtime image ------
#
FROM scratch

# copy CA certificates
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt

# this is the last commabd since it's never cached
COPY --from=build-and-test /go/src/github.com/alexei-led/pumba/.bin/pumba /pumba

Expand Down

0 comments on commit d73c6f7

Please sign in to comment.