mirror of
https://github.com/docker/docker-bench-security.git
synced 2024-11-01 08:31:44 +01:00
Switch to the HTTPS endpoint for the alpine APK repositories
Signed-off-by: Tom Partington <tom.partington@cevo.com.au>
This commit is contained in:
parent
3633545c35
commit
6e70402f4a
1 changed files with 3 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue