Skip to content

Commit 2f49bc6

Browse files
authored
Merge pull request #497 from lifeofguenter/feature/fix-imagick
fix imagick on alpine
2 parents 8215003 + 835fae9 commit 2f49bc6

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

Dockerfile-alpine.template

Lines changed: 3 additions & 1 deletion
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; \

php7.2/fpm-alpine/Dockerfile

Lines changed: 3 additions & 1 deletion
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; \

php7.3/fpm-alpine/Dockerfile

Lines changed: 3 additions & 1 deletion
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; \

php7.4/fpm-alpine/Dockerfile

Lines changed: 3 additions & 1 deletion
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; \

0 commit comments

Comments
 (0)