Added --no-network flag for build packages purge operation in Alpine images

This commit is contained in:
Alexey Pustovalov
2019-08-13 23:16:04 +03:00
15 changed files with 63 additions and 19 deletions

View File

@ -73,7 +73,7 @@ RUN set -eux && \
rm -rf /usr/sbin/zabbix_java/lib/*.xml && \
cd /tmp/ && \
rm -rf /tmp/zabbix-${ZBX_VERSION}/ && \
apk del ${APK_FLAGS_COMMON} --purge \
apk del ${APK_FLAGS_COMMON} --purge --no-network \
build-dependencies && \
rm -rf /var/cache/apk/*