From 7967e6388320f00369b421f4607c7b13966d213b Mon Sep 17 00:00:00 2001 From: J0WI Date: Wed, 31 May 2023 14:36:01 +0200 Subject: [PATCH] Add no-network option --- Dockerfile-alpine.template | 2 +- fpm-alpine/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index aa3153a0..7b32b765 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -33,7 +33,7 @@ RUN set -ex; \ | sort -u \ | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \ )"; \ - apk add --virtual .phpmyadmin-phpexts-rundeps $runDeps; \ + apk add --no-network --virtual .phpmyadmin-phpexts-rundeps $runDeps; \ apk del --no-network .build-deps # set recommended PHP.ini settings diff --git a/fpm-alpine/Dockerfile b/fpm-alpine/Dockerfile index 129e0e73..1ddab917 100644 --- a/fpm-alpine/Dockerfile +++ b/fpm-alpine/Dockerfile @@ -33,7 +33,7 @@ RUN set -ex; \ | sort -u \ | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \ )"; \ - apk add --virtual .phpmyadmin-phpexts-rundeps $runDeps; \ + apk add --no-network --virtual .phpmyadmin-phpexts-rundeps $runDeps; \ apk del --no-network .build-deps # set recommended PHP.ini settings