Skip to content

Commit 835fae9

Browse files
author
gunter.grodotzki
committed
put into main deps, add pr ref
1 parent 99f883f commit 835fae9

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

Dockerfile-alpine.template

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ RUN apk add --no-cache \
77
# BusyBox sed is not sufficient for some of our sed expressions
88
sed \
99
# Ghostscript is required for rendering PDF previews
10-
ghostscript
10+
ghostscript \
11+
# Alpine package for "imagemagick" contains ~120 .so files, see: https://github.com/docker-library/wordpress/pull/497
12+
imagemagick
1113

1214
# install the PHP extensions we need (https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions)
1315
RUN set -ex; \
@@ -39,7 +41,7 @@ RUN set -ex; \
3941
| sort -u \
4042
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
4143
)"; \
42-
apk add --virtual .wordpress-phpexts-rundeps $runDeps imagemagick; \
44+
apk add --virtual .wordpress-phpexts-rundeps $runDeps; \
4345
apk del .build-deps
4446

4547
# set recommended PHP.ini settings

php7.2/fpm-alpine/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ RUN apk add --no-cache \
77
# BusyBox sed is not sufficient for some of our sed expressions
88
sed \
99
# Ghostscript is required for rendering PDF previews
10-
ghostscript
10+
ghostscript \
11+
# Alpine package for "imagemagick" contains ~120 .so files, see: https://github.com/docker-library/wordpress/pull/497
12+
imagemagick
1113

1214
# install the PHP extensions we need (https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions)
1315
RUN set -ex; \
@@ -38,7 +40,7 @@ RUN set -ex; \
3840
| sort -u \
3941
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
4042
)"; \
41-
apk add --virtual .wordpress-phpexts-rundeps $runDeps imagemagick; \
43+
apk add --virtual .wordpress-phpexts-rundeps $runDeps; \
4244
apk del .build-deps
4345

4446
# set recommended PHP.ini settings

php7.3/fpm-alpine/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ RUN apk add --no-cache \
77
# BusyBox sed is not sufficient for some of our sed expressions
88
sed \
99
# Ghostscript is required for rendering PDF previews
10-
ghostscript
10+
ghostscript \
11+
# Alpine package for "imagemagick" contains ~120 .so files, see: https://github.com/docker-library/wordpress/pull/497
12+
imagemagick
1113

1214
# install the PHP extensions we need (https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions)
1315
RUN set -ex; \
@@ -39,7 +41,7 @@ RUN set -ex; \
3941
| sort -u \
4042
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
4143
)"; \
42-
apk add --virtual .wordpress-phpexts-rundeps $runDeps imagemagick; \
44+
apk add --virtual .wordpress-phpexts-rundeps $runDeps; \
4345
apk del .build-deps
4446

4547
# set recommended PHP.ini settings

php7.4/fpm-alpine/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ RUN apk add --no-cache \
77
# BusyBox sed is not sufficient for some of our sed expressions
88
sed \
99
# Ghostscript is required for rendering PDF previews
10-
ghostscript
10+
ghostscript \
11+
# Alpine package for "imagemagick" contains ~120 .so files, see: https://github.com/docker-library/wordpress/pull/497
12+
imagemagick
1113

1214
# install the PHP extensions we need (https://make.wordpress.org/hosting/handbook/handbook/server-environment/#php-extensions)
1315
RUN set -ex; \
@@ -39,7 +41,7 @@ RUN set -ex; \
3941
| sort -u \
4042
| awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' \
4143
)"; \
42-
apk add --virtual .wordpress-phpexts-rundeps $runDeps imagemagick; \
44+
apk add --virtual .wordpress-phpexts-rundeps $runDeps; \
4345
apk del .build-deps
4446

4547
# set recommended PHP.ini settings

0 commit comments

Comments
 (0)