php-worker support imagick
This commit is contained in:
parent
1dd23a01a5
commit
d81f9f2779
|
@ -276,6 +276,7 @@ services:
|
|||
- PHALCON_VERSION=${PHALCON_VERSION}
|
||||
- INSTALL_BZ2=${PHP_WORKER_INSTALL_BZ2}
|
||||
- INSTALL_GD=${PHP_WORKER_INSTALL_GD}
|
||||
- INSTALL_IMAGEMAGICK=${PHP_WORKER_INSTALL_IMAGEMAGICK}
|
||||
- INSTALL_GMP=${PHP_WORKER_INSTALL_GMP}
|
||||
- INSTALL_PGSQL=${PHP_WORKER_INSTALL_PGSQL}
|
||||
- INSTALL_BCMATH=${PHP_WORKER_INSTALL_BCMATH}
|
||||
|
|
|
@ -242,6 +242,7 @@ PHP_FPM_PGID=1000
|
|||
|
||||
PHP_WORKER_INSTALL_BZ2=false
|
||||
PHP_WORKER_INSTALL_GD=false
|
||||
PHP_WORKER_INSTALL_IMAGEMAGICK=false
|
||||
PHP_WORKER_INSTALL_GMP=false
|
||||
PHP_WORKER_INSTALL_PGSQL=false
|
||||
PHP_WORKER_INSTALL_BCMATH=false
|
||||
|
|
|
@ -66,6 +66,14 @@ RUN if [ ${INSTALL_GD} = true ]; then \
|
|||
docker-php-ext-install gd \
|
||||
;fi
|
||||
|
||||
#Install ImageMagick:
|
||||
ARG INSTALL_IMAGEMAGICK=false
|
||||
RUN if [ ${INSTALL_IMAGEMAGICK} = true ]; then \
|
||||
apk add --update imagemagick-dev imagemagick; \
|
||||
pecl install imagick; \
|
||||
docker-php-ext-enable imagick \
|
||||
;fi
|
||||
|
||||
#Install GMP package:
|
||||
ARG INSTALL_GMP=false
|
||||
RUN if [ ${INSTALL_GMP} = true ]; then \
|
||||
|
|
Loading…
Reference in New Issue