Skip to content

Commit 0b42f06

Browse files
committed
Install imagemagick so iPhone/HEIC images can be handled.
1 parent 53a22a3 commit 0b42f06

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ RUN \
2222
apk add --no-cache \
2323
icu-dev \
2424
libjpeg-turbo-dev \
25+
imagemagick \
2526
libpng-dev \
2627
libwebp-dev \
2728
libxml2-dev \
@@ -45,6 +46,8 @@ RUN \
4546
&& docker-php-ext-enable swoole \
4647
&& docker-php-ext-configure pcntl --enable-pcntl \
4748
&& docker-php-ext-install pcntl \
49+
&& MAKEFLAGS="-j $(nproc)" pecl install imagick \
50+
&& docker-php-ext-enable imagick \
4851
&& apk del \
4952
icu-dev \
5053
libjpeg-turbo-dev \
@@ -53,7 +56,7 @@ RUN \
5356
libxml2-dev \
5457
libzip-dev \
5558
pcre-dev \
56-
${PHPIZE_DEPS} \
59+
${PHPIZE_DEPS} \
5760
;
5861

5962
# Install Nginx and supervisor

0 commit comments

Comments
 (0)