Skip to content

Commit

Permalink
Merge pull request #41 from takama/hotfix/certs_alpine_image
Browse files Browse the repository at this point in the history
Fixed #40 alpine image for installing certificates
  • Loading branch information
takama authored Oct 24, 2017
2 parents baa034c + 2f0248c commit 8e5ab8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ build: vendor test certs
certs:
ifeq ("$(wildcard $(CA_DIR)/ca-certificates.crt)","")
@echo "+ $@"
@docker run --name ${CONTAINER_NAME}-certs -d alpine:edge sh -c "apk --update upgrade && apk add ca-certificates && update-ca-certificates"
@docker run --name ${CONTAINER_NAME}-certs -d alpine:latest sh -c "apk --update upgrade && apk add ca-certificates && update-ca-certificates"
@docker wait ${CONTAINER_NAME}-certs
@mkdir -p ${CA_DIR}
@docker cp ${CONTAINER_NAME}-certs:/etc/ssl/certs/ca-certificates.crt ${CA_DIR}
Expand Down

0 comments on commit 8e5ab8c

Please sign in to comment.