php-fpm support enchant extension
This commit is contained in:
parent
8251316651
commit
743942e1e1
|
@ -215,6 +215,7 @@ PHP_FPM_INSTALL_IMAGE_OPTIMIZERS=true
|
||||||
PHP_FPM_INSTALL_PHPREDIS=true
|
PHP_FPM_INSTALL_PHPREDIS=true
|
||||||
PHP_FPM_INSTALL_MEMCACHED=false
|
PHP_FPM_INSTALL_MEMCACHED=false
|
||||||
PHP_FPM_INSTALL_BZ2=false
|
PHP_FPM_INSTALL_BZ2=false
|
||||||
|
PHP_FPM_INSTALL_ENCHANT=false
|
||||||
PHP_FPM_INSTALL_GMP=false
|
PHP_FPM_INSTALL_GMP=false
|
||||||
PHP_FPM_INSTALL_GNUPG=false
|
PHP_FPM_INSTALL_GNUPG=false
|
||||||
PHP_FPM_INSTALL_XDEBUG=false
|
PHP_FPM_INSTALL_XDEBUG=false
|
||||||
|
|
|
@ -209,6 +209,7 @@ services:
|
||||||
- LARADOCK_PHP_VERSION=${PHP_VERSION}
|
- LARADOCK_PHP_VERSION=${PHP_VERSION}
|
||||||
- LARADOCK_PHALCON_VERSION=${PHALCON_VERSION}
|
- LARADOCK_PHALCON_VERSION=${PHALCON_VERSION}
|
||||||
- INSTALL_BZ2=${PHP_FPM_INSTALL_BZ2}
|
- INSTALL_BZ2=${PHP_FPM_INSTALL_BZ2}
|
||||||
|
- INSTALL_ENCHANT=${PHP_FPM_INSTALL_ENCHANT}
|
||||||
- INSTALL_GMP=${PHP_FPM_INSTALL_GMP}
|
- INSTALL_GMP=${PHP_FPM_INSTALL_GMP}
|
||||||
- INSTALL_GNUPG=${PHP_FPM_INSTALL_GNUPG}
|
- INSTALL_GNUPG=${PHP_FPM_INSTALL_GNUPG}
|
||||||
- INSTALL_XDEBUG=${PHP_FPM_INSTALL_XDEBUG}
|
- INSTALL_XDEBUG=${PHP_FPM_INSTALL_XDEBUG}
|
||||||
|
|
|
@ -83,6 +83,17 @@ RUN if [ ${INSTALL_BZ2} = true ]; then \
|
||||||
docker-php-ext-install bz2 \
|
docker-php-ext-install bz2 \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
###########################################################################
|
||||||
|
# Enchant:
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
ARG INSTALL_ENCHANT=false
|
||||||
|
RUN if [ ${INSTALL_ENCHANT} = true ]; then \
|
||||||
|
apt-get install -yqq libenchant-dev; \
|
||||||
|
docker-php-ext-install enchant; \
|
||||||
|
php -m | grep -oiE '^enchant$'; \
|
||||||
|
fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# GMP (GNU Multiple Precision):
|
# GMP (GNU Multiple Precision):
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
Loading…
Reference in New Issue