Skip to content

Commit 7967e63

Browse files
committed
Add no-network option
1 parent 0006406 commit 7967e63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile-alpine.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN set -ex; \
3333
| sort -u \
3434
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
3535
)"; \
36-
apk add --virtual .phpmyadmin-phpexts-rundeps $runDeps; \
36+
apk add --no-network --virtual .phpmyadmin-phpexts-rundeps $runDeps; \
3737
apk del --no-network .build-deps
3838

3939
# set recommended PHP.ini settings

fpm-alpine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN set -ex; \
3333
| sort -u \
3434
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
3535
)"; \
36-
apk add --virtual .phpmyadmin-phpexts-rundeps $runDeps; \
36+
apk add --no-network --virtual .phpmyadmin-phpexts-rundeps $runDeps; \
3737
apk del --no-network .build-deps
3838

3939
# set recommended PHP.ini settings

0 commit comments

Comments
 (0)