Skip to content

Commit 0a23d53

Browse files
committed
Move php-imagick to php-fpm and enable it
1 parent f6552ac commit 0a23d53

6 files changed

Lines changed: 9 additions & 6 deletions

File tree

php-fpm/Dockerfile-56

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,8 @@ USER root
276276
ARG INSTALL_IMAGEMAGICK=false
277277
ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK}
278278
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
279-
apt-get install -y --force-yes imagemagick php-imagick \
279+
apt-get install -y --force-yes imagemagick php-imagick && \
280+
docker-php-ext-enable imagick \
280281
;fi
281282

282283
#

php-fpm/Dockerfile-70

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,8 @@ USER root
300300
ARG INSTALL_IMAGEMAGICK=false
301301
ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK}
302302
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
303-
apt-get install -y --force-yes imagemagick php-imagick \
303+
apt-get install -y --force-yes imagemagick php-imagick && \
304+
docker-php-ext-enable imagick \
304305
;fi
305306

306307
#

php-fpm/Dockerfile-71

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,8 @@ USER root
307307
ARG INSTALL_IMAGEMAGICK=false
308308
ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK}
309309
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
310-
apt-get install -y --force-yes imagemagick php-imagick \
310+
apt-get install -y --force-yes imagemagick php-imagick && \
311+
docker-php-ext-enable imagick \
311312
;fi
312313

313314
#

workspace/Dockerfile-56

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ USER root
503503
ARG INSTALL_IMAGEMAGICK=false
504504
ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK}
505505
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
506-
apt-get install -y --force-yes imagemagick php-imagick \
506+
apt-get install -y --force-yes imagemagick \
507507
;fi
508508

509509
#

workspace/Dockerfile-70

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ USER root
584584
ARG INSTALL_IMAGEMAGICK=false
585585
ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK}
586586
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
587-
apt-get install -y --force-yes imagemagick php-imagick \
587+
apt-get install -y --force-yes imagemagick \
588588
;fi
589589

590590
#

workspace/Dockerfile-71

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ USER root
589589
ARG INSTALL_IMAGEMAGICK=false
590590
ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK}
591591
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
592-
apt-get install -y --force-yes imagemagick php-imagick \
592+
apt-get install -y --force-yes imagemagick \
593593
;fi
594594

595595
#

0 commit comments

Comments
 (0)