Leave ca-certificates in the docker image

Fixes #288
This commit is contained in:
xenolf 2016-10-18 22:55:27 +02:00 committed by GitHub
parent bb51288200
commit e953bbc8b9

View file

@ -7,7 +7,7 @@ RUN apk update && apk add ca-certificates go git && \
go get -u github.com/xenolf/lego && \ go get -u github.com/xenolf/lego && \
cd /go/src/github.com/xenolf/lego && \ cd /go/src/github.com/xenolf/lego && \
go build -o /usr/bin/lego . && \ go build -o /usr/bin/lego . && \
apk del ca-certificates go git && \ apk del go git && \
rm -rf /var/cache/apk/* && \ rm -rf /var/cache/apk/* && \
rm -rf /go rm -rf /go