Permalink
Browse files

Merge pull request #271 from tpartington/alpine-https-repositories

Switch to the HTTPS alpine apk repositories
  • Loading branch information...
konstruktoid committed Dec 6, 2017
2 parents 3633545 + 6e70402 commit d05852c1713b8012c6e479ec20429e09ab607c35
Showing with 3 additions and 0 deletions.
  1. +3 −0 Dockerfile
View
@@ -4,6 +4,9 @@ LABEL org.label-schema.name="docker-bench-security" \
org.label-schema.url="https://dockerbench.com" \
org.label-schema.vcs-url="https://github.com/docker/docker-bench-security.git"
# Switch to the HTTPS endpoint for the apk repositories as per https://github.com/gliderlabs/docker-alpine/issues/184
RUN sed -i 's/http\:\/\/dl-cdn.alpinelinux.org/https\:\/\/alpine.global.ssl.fastly.net/g' /etc/apk/repositories
RUN \
apk upgrade --no-cache && \
apk add --no-cache \

0 comments on commit d05852c

Please sign in to comment.