Skip to content
Permalink
Browse files

Enhance installation of docker cli

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
  • Loading branch information...
J0WI committed Jul 1, 2019
1 parent 50bfd11 commit ee9a0c5681bd2e37354c70dceb2969ee6a70697e
Showing with 4 additions and 5 deletions.
  1. +4 −5 Dockerfile
@@ -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/

0 comments on commit ee9a0c5

Please sign in to comment.
You can’t perform that action at this time.