diff --git a/5.5/alpine/Dockerfile b/5.5/alpine/Dockerfile index 5426fa6c85..31a28e584a 100644 --- a/5.5/alpine/Dockerfile +++ b/5.5/alpine/Dockerfile @@ -83,7 +83,7 @@ RUN set -xe \ | xargs -r apk info --installed \ | sort -u \ )" \ - && apk add --virtual .php-rundeps $runDeps \ + && apk add --no-cache --virtual .php-rundeps $runDeps \ && apk del .build-deps COPY docker-php-ext-* /usr/local/bin/ diff --git a/5.6/alpine/Dockerfile b/5.6/alpine/Dockerfile index 0cf08804e8..411a16b91a 100644 --- a/5.6/alpine/Dockerfile +++ b/5.6/alpine/Dockerfile @@ -83,7 +83,7 @@ RUN set -xe \ | xargs -r apk info --installed \ | sort -u \ )" \ - && apk add --virtual .php-rundeps $runDeps \ + && apk add --no-cache --virtual .php-rundeps $runDeps \ && apk del .build-deps COPY docker-php-ext-* /usr/local/bin/ diff --git a/7.0/alpine/Dockerfile b/7.0/alpine/Dockerfile index d7fe6169d1..3a9e658c50 100644 --- a/7.0/alpine/Dockerfile +++ b/7.0/alpine/Dockerfile @@ -83,7 +83,7 @@ RUN set -xe \ | xargs -r apk info --installed \ | sort -u \ )" \ - && apk add --virtual .php-rundeps $runDeps \ + && apk add --no-cache --virtual .php-rundeps $runDeps \ && apk del .build-deps COPY docker-php-ext-* /usr/local/bin/ diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index dfb871efeb..c3c3d36e79 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -83,7 +83,7 @@ RUN set -xe \ | xargs -r apk info --installed \ | sort -u \ )" \ - && apk add --virtual .php-rundeps $runDeps \ + && apk add --no-cache --virtual .php-rundeps $runDeps \ && apk del .build-deps COPY docker-php-ext-* /usr/local/bin/