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

@ -242,20 +242,7 @@ RUN if [ ${INSTALL_BZ2} = true ]; then \
;fi
###########################################################################
# SSH2:
###########################################################################
USER root
ARG INSTALL_SSH2=false
RUN if [ ${INSTALL_SSH2} = true ]; then \
# Install the PHP SSH2 extension
apt-get -y install libssh2-1-dev php${LARADOCK_PHP_VERSION}-ssh2 \
;fi
###########################################################################
# GMP:
# GMP (GNU Multiple Precision):
###########################################################################
USER root
@ -268,6 +255,19 @@ RUN if [ ${INSTALL_GMP} = true ]; then \
apt-get -y install php${LARADOCK_PHP_VERSION}-gmp \
;fi
###########################################################################
# SSH2:
###########################################################################
USER root
ARG INSTALL_SSH2=false
RUN if [ ${INSTALL_SSH2} = true ]; then \
# Install the PHP SSH2 extension
apt-get -y install libssh2-1-dev php${LARADOCK_PHP_VERSION}-ssh2 \
;fi
###########################################################################
# SOAP:
###########################################################################