Skip to content

Commit

Permalink
Merge pull request #413 from konstruktoid/alpineupdate
Browse files Browse the repository at this point in the history
alpine:3.11
  • Loading branch information
konstruktoid committed Dec 21, 2019
2 parents d9a70bc + 685236f commit 9696a8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
@@ -1,4 +1,4 @@
FROM alpine:3.10
FROM alpine:3.11

LABEL \
org.label-schema.name="docker-bench-security" \
Expand Down
11 changes: 5 additions & 6 deletions distros/Dockerfile.alpine
@@ -1,4 +1,4 @@
FROM alpine:3.10
FROM alpine:3.11

LABEL \
org.label-schema.name="docker-bench-security" \
Expand All @@ -7,13 +7,12 @@ LABEL \

# Switch to the HTTPS endpoint for the apk repositories
# 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 set -eux; \
sed -i 's!http://dl-cdn.alpinelinux.org/!https://alpine.global.ssl.fastly.net/!g' /etc/apk/repositories && \
apk add --no-cache \
iproute2 \
docker \
dumb-init && \
rm -rf /usr/bin/docker?*
docker-cli \
dumb-init

COPY ./*.sh /usr/local/bin/
COPY ./tests/*.sh /usr/local/bin/tests/
Expand Down

0 comments on commit 9696a8b

Please sign in to comment.