mirror of
https://github.com/dnscrypt/dnscrypt-server-docker
synced 2024-11-26 10:23:48 +01:00
Replace apk parameter --update
with --no-cache
to reduce size
This commit is contained in:
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
|
ENV RUNTIME_DEPS bash util-linux coreutils findutils grep openssl ldns ldns-tools libevent expat libexecinfo coreutils drill ca-certificates
|
||||||
|
|
||||||
RUN set -x && \
|
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
|
update-ca-certificates 2> /dev/null || true
|
||||||
|
|
||||||
ENV UNBOUND_GIT_URL https://github.com/jedisct1/unbound.git
|
ENV UNBOUND_GIT_URL https://github.com/jedisct1/unbound.git
|
||||||
|
Loading…
Reference in New Issue
Block a user