php-fpm support enchant extension

This commit is contained in:
Shao Yu-Lung (Allen)
2021-04-17 16:20:05 +08:00
parent 8251316651
commit 743942e1e1
3 changed files with 13 additions and 0 deletions

View File

@ -83,6 +83,17 @@ RUN if [ ${INSTALL_BZ2} = true ]; then \
docker-php-ext-install bz2 \
;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):
###########################################################################