diff --git a/php-fpm/Dockerfile-56 b/php-fpm/Dockerfile-56 index 7a623e0..0caf4d3 100644 --- a/php-fpm/Dockerfile-56 +++ b/php-fpm/Dockerfile-56 @@ -276,7 +276,8 @@ USER root ARG INSTALL_IMAGEMAGICK=false ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK} RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \ - apt-get install -y --force-yes imagemagick php-imagick \ + apt-get install -y --force-yes imagemagick php-imagick && \ + docker-php-ext-enable imagick \ ;fi # diff --git a/php-fpm/Dockerfile-70 b/php-fpm/Dockerfile-70 index 349f614..264c9bb 100644 --- a/php-fpm/Dockerfile-70 +++ b/php-fpm/Dockerfile-70 @@ -300,7 +300,8 @@ USER root ARG INSTALL_IMAGEMAGICK=false ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK} RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \ - apt-get install -y --force-yes imagemagick php-imagick \ + apt-get install -y --force-yes imagemagick php-imagick && \ + docker-php-ext-enable imagick \ ;fi # diff --git a/php-fpm/Dockerfile-71 b/php-fpm/Dockerfile-71 index 63992b8..66bf463 100644 --- a/php-fpm/Dockerfile-71 +++ b/php-fpm/Dockerfile-71 @@ -307,7 +307,8 @@ USER root ARG INSTALL_IMAGEMAGICK=false ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK} RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \ - apt-get install -y --force-yes imagemagick php-imagick \ + apt-get install -y --force-yes imagemagick php-imagick && \ + docker-php-ext-enable imagick \ ;fi # diff --git a/workspace/Dockerfile-56 b/workspace/Dockerfile-56 index de18068..b6e1de2 100644 --- a/workspace/Dockerfile-56 +++ b/workspace/Dockerfile-56 @@ -503,7 +503,7 @@ USER root ARG INSTALL_IMAGEMAGICK=false ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK} RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \ - apt-get install -y --force-yes imagemagick php-imagick \ + apt-get install -y --force-yes imagemagick \ ;fi # diff --git a/workspace/Dockerfile-70 b/workspace/Dockerfile-70 index 9ca8e6c..824c4a3 100644 --- a/workspace/Dockerfile-70 +++ b/workspace/Dockerfile-70 @@ -584,7 +584,7 @@ USER root ARG INSTALL_IMAGEMAGICK=false ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK} RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \ - apt-get install -y --force-yes imagemagick php-imagick \ + apt-get install -y --force-yes imagemagick \ ;fi # diff --git a/workspace/Dockerfile-71 b/workspace/Dockerfile-71 index b6f423f..3030447 100644 --- a/workspace/Dockerfile-71 +++ b/workspace/Dockerfile-71 @@ -589,7 +589,7 @@ USER root ARG INSTALL_IMAGEMAGICK=false ENV INSTALL_IMAGEMAGICK ${INSTALL_IMAGEMAGICK} RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \ - apt-get install -y --force-yes imagemagick php-imagick \ + apt-get install -y --force-yes imagemagick \ ;fi #