commit
719d1f7e7a
@ -65,12 +65,12 @@ services:
|
|||||||
- LARADOCK_PHALCON_VERSION=${PHALCON_VERSION}
|
- LARADOCK_PHALCON_VERSION=${PHALCON_VERSION}
|
||||||
- INSTALL_SUBVERSION=${WORKSPACE_INSTALL_SUBVERSION}
|
- INSTALL_SUBVERSION=${WORKSPACE_INSTALL_SUBVERSION}
|
||||||
- INSTALL_BZ2=${WORKSPACE_INSTALL_BZ2}
|
- INSTALL_BZ2=${WORKSPACE_INSTALL_BZ2}
|
||||||
|
- INSTALL_GMP=${WORKSPACE_INSTALL_GMP}
|
||||||
- INSTALL_XDEBUG=${WORKSPACE_INSTALL_XDEBUG}
|
- INSTALL_XDEBUG=${WORKSPACE_INSTALL_XDEBUG}
|
||||||
- INSTALL_PCOV=${WORKSPACE_INSTALL_PCOV}
|
- INSTALL_PCOV=${WORKSPACE_INSTALL_PCOV}
|
||||||
- INSTALL_PHPDBG=${WORKSPACE_INSTALL_PHPDBG}
|
- INSTALL_PHPDBG=${WORKSPACE_INSTALL_PHPDBG}
|
||||||
- INSTALL_BLACKFIRE=${INSTALL_BLACKFIRE}
|
- INSTALL_BLACKFIRE=${INSTALL_BLACKFIRE}
|
||||||
- INSTALL_SSH2=${WORKSPACE_INSTALL_SSH2}
|
- INSTALL_SSH2=${WORKSPACE_INSTALL_SSH2}
|
||||||
- INSTALL_GMP=${WORKSPACE_INSTALL_GMP}
|
|
||||||
- INSTALL_SOAP=${WORKSPACE_INSTALL_SOAP}
|
- INSTALL_SOAP=${WORKSPACE_INSTALL_SOAP}
|
||||||
- INSTALL_XSL=${WORKSPACE_INSTALL_XSL}
|
- INSTALL_XSL=${WORKSPACE_INSTALL_XSL}
|
||||||
- INSTALL_LDAP=${WORKSPACE_INSTALL_LDAP}
|
- INSTALL_LDAP=${WORKSPACE_INSTALL_LDAP}
|
||||||
@ -170,6 +170,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_GMP=${PHP_FPM_INSTALL_GMP}
|
||||||
- INSTALL_XDEBUG=${PHP_FPM_INSTALL_XDEBUG}
|
- INSTALL_XDEBUG=${PHP_FPM_INSTALL_XDEBUG}
|
||||||
- INSTALL_PCOV=${PHP_FPM_INSTALL_PCOV}
|
- INSTALL_PCOV=${PHP_FPM_INSTALL_PCOV}
|
||||||
- INSTALL_PHPDBG=${PHP_FPM_INSTALL_PHPDBG}
|
- INSTALL_PHPDBG=${PHP_FPM_INSTALL_PHPDBG}
|
||||||
@ -185,7 +186,6 @@ services:
|
|||||||
- INSTALL_GEARMAN=${PHP_FPM_INSTALL_GEARMAN}
|
- INSTALL_GEARMAN=${PHP_FPM_INSTALL_GEARMAN}
|
||||||
- INSTALL_MSSQL=${PHP_FPM_INSTALL_MSSQL}
|
- INSTALL_MSSQL=${PHP_FPM_INSTALL_MSSQL}
|
||||||
- INSTALL_BCMATH=${PHP_FPM_INSTALL_BCMATH}
|
- INSTALL_BCMATH=${PHP_FPM_INSTALL_BCMATH}
|
||||||
- INSTALL_GMP=${PHP_FPM_INSTALL_GMP}
|
|
||||||
- INSTALL_PHPREDIS=${PHP_FPM_INSTALL_PHPREDIS}
|
- INSTALL_PHPREDIS=${PHP_FPM_INSTALL_PHPREDIS}
|
||||||
- INSTALL_MEMCACHED=${PHP_FPM_INSTALL_MEMCACHED}
|
- INSTALL_MEMCACHED=${PHP_FPM_INSTALL_MEMCACHED}
|
||||||
- INSTALL_OPCACHE=${PHP_FPM_INSTALL_OPCACHE}
|
- INSTALL_OPCACHE=${PHP_FPM_INSTALL_OPCACHE}
|
||||||
@ -254,6 +254,7 @@ services:
|
|||||||
- LARADOCK_PHP_VERSION=${PHP_VERSION}
|
- LARADOCK_PHP_VERSION=${PHP_VERSION}
|
||||||
- PHALCON_VERSION=${PHALCON_VERSION}
|
- PHALCON_VERSION=${PHALCON_VERSION}
|
||||||
- INSTALL_BZ2=${PHP_WORKER_INSTALL_BZ2}
|
- INSTALL_BZ2=${PHP_WORKER_INSTALL_BZ2}
|
||||||
|
- INSTALL_GMP=${PHP_WORKER_INSTALL_GMP}
|
||||||
- INSTALL_PGSQL=${PHP_WORKER_INSTALL_PGSQL}
|
- INSTALL_PGSQL=${PHP_WORKER_INSTALL_PGSQL}
|
||||||
- INSTALL_BCMATH=${PHP_WORKER_INSTALL_BCMATH}
|
- INSTALL_BCMATH=${PHP_WORKER_INSTALL_BCMATH}
|
||||||
- INSTALL_PHALCON=${PHP_WORKER_INSTALL_PHALCON}
|
- INSTALL_PHALCON=${PHP_WORKER_INSTALL_PHALCON}
|
||||||
@ -267,7 +268,6 @@ services:
|
|||||||
- INSTALL_SWOOLE=${PHP_WORKER_INSTALL_SWOOLE}
|
- INSTALL_SWOOLE=${PHP_WORKER_INSTALL_SWOOLE}
|
||||||
- INSTALL_TAINT=${PHP_WORKER_INSTALL_TAINT}
|
- INSTALL_TAINT=${PHP_WORKER_INSTALL_TAINT}
|
||||||
- INSTALL_FFMPEG=${PHP_WORKER_INSTALL_FFMPEG}
|
- INSTALL_FFMPEG=${PHP_WORKER_INSTALL_FFMPEG}
|
||||||
- INSTALL_GMP=${PHP_WORKER_INSTALL_GMP}
|
|
||||||
- INSTALL_REDIS=${PHP_WORKER_INSTALL_REDIS}
|
- INSTALL_REDIS=${PHP_WORKER_INSTALL_REDIS}
|
||||||
- PUID=${PHP_WORKER_PUID}
|
- PUID=${PHP_WORKER_PUID}
|
||||||
- PGID=${PHP_WORKER_PGID}
|
- PGID=${PHP_WORKER_PGID}
|
||||||
@ -288,6 +288,7 @@ services:
|
|||||||
- CHANGE_SOURCE=${CHANGE_SOURCE}
|
- CHANGE_SOURCE=${CHANGE_SOURCE}
|
||||||
- LARADOCK_PHP_VERSION=${PHP_VERSION}
|
- LARADOCK_PHP_VERSION=${PHP_VERSION}
|
||||||
- INSTALL_BZ2=${LARAVEL_HORIZON_INSTALL_BZ2}
|
- INSTALL_BZ2=${LARAVEL_HORIZON_INSTALL_BZ2}
|
||||||
|
- INSTALL_GMP=${LARAVEL_HORIZON_INSTALL_GMP}
|
||||||
- INSTALL_PGSQL=${PHP_FPM_INSTALL_PGSQL}
|
- INSTALL_PGSQL=${PHP_FPM_INSTALL_PGSQL}
|
||||||
- INSTALL_BCMATH=${PHP_FPM_INSTALL_BCMATH}
|
- INSTALL_BCMATH=${PHP_FPM_INSTALL_BCMATH}
|
||||||
- INSTALL_MEMCACHED=${PHP_FPM_INSTALL_MEMCACHED}
|
- INSTALL_MEMCACHED=${PHP_FPM_INSTALL_MEMCACHED}
|
||||||
|
@ -101,12 +101,12 @@ WORKSPACE_INSTALL_PHPREDIS=true
|
|||||||
WORKSPACE_INSTALL_WORKSPACE_SSH=false
|
WORKSPACE_INSTALL_WORKSPACE_SSH=false
|
||||||
WORKSPACE_INSTALL_SUBVERSION=false
|
WORKSPACE_INSTALL_SUBVERSION=false
|
||||||
WORKSPACE_INSTALL_BZ2=false
|
WORKSPACE_INSTALL_BZ2=false
|
||||||
|
WORKSPACE_INSTALL_GMP=false
|
||||||
WORKSPACE_INSTALL_XDEBUG=false
|
WORKSPACE_INSTALL_XDEBUG=false
|
||||||
WORKSPACE_INSTALL_PCOV=false
|
WORKSPACE_INSTALL_PCOV=false
|
||||||
WORKSPACE_INSTALL_PHPDBG=false
|
WORKSPACE_INSTALL_PHPDBG=false
|
||||||
WORKSPACE_INSTALL_SSH2=false
|
WORKSPACE_INSTALL_SSH2=false
|
||||||
WORKSPACE_INSTALL_LDAP=false
|
WORKSPACE_INSTALL_LDAP=false
|
||||||
WORKSPACE_INSTALL_GMP=false
|
|
||||||
WORKSPACE_INSTALL_SOAP=false
|
WORKSPACE_INSTALL_SOAP=false
|
||||||
WORKSPACE_INSTALL_XSL=false
|
WORKSPACE_INSTALL_XSL=false
|
||||||
WORKSPACE_INSTALL_SMB=false
|
WORKSPACE_INSTALL_SMB=false
|
||||||
@ -172,6 +172,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_GMP=false
|
||||||
PHP_FPM_INSTALL_XDEBUG=false
|
PHP_FPM_INSTALL_XDEBUG=false
|
||||||
PHP_FPM_INSTALL_PCOV=false
|
PHP_FPM_INSTALL_PCOV=false
|
||||||
PHP_FPM_INSTALL_XHPROF=false
|
PHP_FPM_INSTALL_XHPROF=false
|
||||||
@ -186,7 +187,6 @@ PHP_FPM_INSTALL_MSSQL=false
|
|||||||
PHP_FPM_INSTALL_SSH2=false
|
PHP_FPM_INSTALL_SSH2=false
|
||||||
PHP_FPM_INSTALL_SOAP=false
|
PHP_FPM_INSTALL_SOAP=false
|
||||||
PHP_FPM_INSTALL_XSL=false
|
PHP_FPM_INSTALL_XSL=false
|
||||||
PHP_FPM_INSTALL_GMP=false
|
|
||||||
PHP_FPM_INSTALL_EXIF=false
|
PHP_FPM_INSTALL_EXIF=false
|
||||||
PHP_FPM_INSTALL_AEROSPIKE=false
|
PHP_FPM_INSTALL_AEROSPIKE=false
|
||||||
PHP_FPM_INSTALL_OCI8=false
|
PHP_FPM_INSTALL_OCI8=false
|
||||||
@ -223,6 +223,7 @@ PHP_FPM_PGID=1000
|
|||||||
### PHP_WORKER ############################################
|
### PHP_WORKER ############################################
|
||||||
|
|
||||||
PHP_WORKER_INSTALL_BZ2=false
|
PHP_WORKER_INSTALL_BZ2=false
|
||||||
|
PHP_WORKER_INSTALL_GMP=false
|
||||||
PHP_WORKER_INSTALL_PGSQL=false
|
PHP_WORKER_INSTALL_PGSQL=false
|
||||||
PHP_WORKER_INSTALL_BCMATH=false
|
PHP_WORKER_INSTALL_BCMATH=false
|
||||||
PHP_WORKER_INSTALL_PHALCON=false
|
PHP_WORKER_INSTALL_PHALCON=false
|
||||||
@ -234,7 +235,6 @@ PHP_WORKER_INSTALL_GHOSTSCRIPT=false
|
|||||||
PHP_WORKER_INSTALL_SWOOLE=false
|
PHP_WORKER_INSTALL_SWOOLE=false
|
||||||
PHP_WORKER_INSTALL_TAINT=false
|
PHP_WORKER_INSTALL_TAINT=false
|
||||||
PHP_WORKER_INSTALL_FFMPEG=false
|
PHP_WORKER_INSTALL_FFMPEG=false
|
||||||
PHP_WORKER_INSTALL_GMP=false
|
|
||||||
PHP_WORKER_INSTALL_CASSANDRA=false
|
PHP_WORKER_INSTALL_CASSANDRA=false
|
||||||
PHP_WORKER_INSTALL_GEARMAN=false
|
PHP_WORKER_INSTALL_GEARMAN=false
|
||||||
PHP_WORKER_INSTALL_REDIS=false
|
PHP_WORKER_INSTALL_REDIS=false
|
||||||
@ -255,6 +255,7 @@ NGINX_SSL_PATH=./nginx/ssl/
|
|||||||
### LARAVEL_HORIZON ################################################
|
### LARAVEL_HORIZON ################################################
|
||||||
|
|
||||||
LARAVEL_HORIZON_INSTALL_BZ2=false
|
LARAVEL_HORIZON_INSTALL_BZ2=false
|
||||||
|
LARAVEL_HORIZON_INSTALL_GMP=false
|
||||||
LARAVEL_HORIZON_INSTALL_SOCKETS=false
|
LARAVEL_HORIZON_INSTALL_SOCKETS=false
|
||||||
LARAVEL_HORIZON_INSTALL_YAML=false
|
LARAVEL_HORIZON_INSTALL_YAML=false
|
||||||
LARAVEL_HORIZON_INSTALL_PHPREDIS=true
|
LARAVEL_HORIZON_INSTALL_PHPREDIS=true
|
||||||
|
@ -53,6 +53,13 @@ RUN if [ ${INSTALL_BZ2} = true ]; then \
|
|||||||
docker-php-ext-install bz2 \
|
docker-php-ext-install bz2 \
|
||||||
;fi
|
;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:
|
#Install BCMath package:
|
||||||
ARG INSTALL_BCMATH=false
|
ARG INSTALL_BCMATH=false
|
||||||
RUN if [ ${INSTALL_BCMATH} = true ]; then \
|
RUN if [ ${INSTALL_BCMATH} = true ]; then \
|
||||||
|
@ -80,6 +80,21 @@ RUN if [ ${INSTALL_BZ2} = true ]; then \
|
|||||||
docker-php-ext-install bz2 \
|
docker-php-ext-install bz2 \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
###########################################################################
|
||||||
|
# GMP (GNU Multiple Precision):
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
ARG INSTALL_GMP=false
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_GMP} = true ]; then \
|
||||||
|
# Install the GMP extension
|
||||||
|
apt-get install -y libgmp-dev && \
|
||||||
|
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
||||||
|
ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h \
|
||||||
|
;fi && \
|
||||||
|
docker-php-ext-install gmp \
|
||||||
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# SSH2:
|
# SSH2:
|
||||||
###########################################################################
|
###########################################################################
|
||||||
@ -397,21 +412,6 @@ RUN if [ ${INSTALL_BCMATH} = true ]; then \
|
|||||||
docker-php-ext-install bcmath \
|
docker-php-ext-install bcmath \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
|
||||||
# GMP (GNU Multiple Precision):
|
|
||||||
###########################################################################
|
|
||||||
|
|
||||||
ARG INSTALL_GMP=false
|
|
||||||
|
|
||||||
RUN if [ ${INSTALL_GMP} = true ]; then \
|
|
||||||
# Install the GMP extension
|
|
||||||
apt-get install -y libgmp-dev && \
|
|
||||||
if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \
|
|
||||||
ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h \
|
|
||||||
;fi && \
|
|
||||||
docker-php-ext-install gmp \
|
|
||||||
;fi
|
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# PHP Memcached:
|
# PHP Memcached:
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
@ -53,6 +53,13 @@ RUN if [ ${INSTALL_BZ2} = true ]; then \
|
|||||||
docker-php-ext-install bz2; \
|
docker-php-ext-install bz2; \
|
||||||
fi
|
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 SOAP package:
|
#Install SOAP package:
|
||||||
ARG INSTALL_SOAP=false
|
ARG INSTALL_SOAP=false
|
||||||
RUN if [ ${INSTALL_SOAP} = true ]; then \
|
RUN if [ ${INSTALL_SOAP} = true ]; then \
|
||||||
@ -162,13 +169,6 @@ RUN if [ $INSTALL_GHOSTSCRIPT = true ]; then \
|
|||||||
apk --update add ghostscript \
|
apk --update add ghostscript \
|
||||||
;fi
|
;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 Redis package:
|
# Install Redis package:
|
||||||
ARG INSTALL_REDIS=false
|
ARG INSTALL_REDIS=false
|
||||||
RUN if [ ${INSTALL_REDIS} = true ]; then \
|
RUN if [ ${INSTALL_REDIS} = true ]; then \
|
||||||
|
@ -242,20 +242,7 @@ RUN if [ ${INSTALL_BZ2} = true ]; then \
|
|||||||
;fi
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# SSH2:
|
# GMP (GNU Multiple Precision):
|
||||||
###########################################################################
|
|
||||||
|
|
||||||
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:
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
@ -268,6 +255,19 @@ RUN if [ ${INSTALL_GMP} = true ]; then \
|
|||||||
apt-get -y install php${LARADOCK_PHP_VERSION}-gmp \
|
apt-get -y install php${LARADOCK_PHP_VERSION}-gmp \
|
||||||
;fi
|
;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:
|
# SOAP:
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user