1
1
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-26 06:13:49 +01:00

Replace apk parameter --update with --no-cache to reduce size

This commit is contained in:
Peter Dave Hello 2019-05-03 22:44:02 +08:00
parent e14822a64f
commit 1a86b71a87

@ -6,7 +6,7 @@ ENV BUILD_DEPS make gcc musl-dev git libevent-dev expat-dev shadow autoconf fi
ENV RUNTIME_DEPS bash util-linux coreutils findutils grep openssl ldns ldns-tools libevent expat libexecinfo coreutils drill ca-certificates
RUN set -x && \
apk --update upgrade && apk add --no-cache $RUNTIME_DEPS $BUILD_DEPS && \
apk --no-cache upgrade && apk add --no-cache $RUNTIME_DEPS $BUILD_DEPS && \
update-ca-certificates 2> /dev/null || true
ENV UNBOUND_GIT_URL https://github.com/jedisct1/unbound.git