feat: add GMP extension to PHP-fpm

This commit is contained in:
yemeng1 committed 2017-12-27 18:56:26 +08:00
1 parent 7fc3a9cb7a
commit 0445d76d11
5 files changed
+38

No files matched your search

+12
View File
@@ -153,6 +153,18 @@ RUN if [ ${INSTALL_BCMATH} = true ]; then \
docker-php-ext-install bcmath \
;fi
#####################################
# GMP (GNU Multiple Precision):
#####################################
ARG INSTALL_GMP=false
RUN if [ ${INSTALL_GMP} = true ]; then \
# Install the GMP extension
apt-get update -yqq && \
apt-get install -y libgmp-dev && \
docker-php-ext-install gmp \
;fi
#####################################
# PHP Memcached:
#####################################