horizon gmp ext

This commit is contained in:
Shao Yu Lung
2020-02-12 18:23:22 +08:00
parent 2f2539a51f
commit 53d13f23f7
6 changed files with 51 additions and 42 deletions

View File

@ -53,6 +53,13 @@ RUN if [ ${INSTALL_BZ2} = true ]; then \
docker-php-ext-install bz2 \
;fi
#Install GMP package:
ARG INSTALL_GMP=false
RUN if [ ${INSTALL_GMP} = true ]; then \
apk add --update --no-cache gmp gmp-dev; \
docker-php-ext-install gmp \
;fi
#Install BCMath package:
ARG INSTALL_BCMATH=false
RUN if [ ${INSTALL_BCMATH} = true ]; then \