Added APCU installation option (#1831)
This commit is contained in:
parent
35ffd02b44
commit
e6d866b8a6
|
@ -157,6 +157,7 @@ services:
|
||||||
- INSTALL_CALENDAR=${PHP_FPM_INSTALL_CALENDAR}
|
- INSTALL_CALENDAR=${PHP_FPM_INSTALL_CALENDAR}
|
||||||
- INSTALL_FAKETIME=${PHP_FPM_INSTALL_FAKETIME}
|
- INSTALL_FAKETIME=${PHP_FPM_INSTALL_FAKETIME}
|
||||||
- INSTALL_IONCUBE=${PHP_FPM_INSTALL_IONCUBE}
|
- INSTALL_IONCUBE=${PHP_FPM_INSTALL_IONCUBE}
|
||||||
|
- INSTALL_APCU=${PHP_FPM_INSTALL_APCU}
|
||||||
- INSTALL_YAML=${PHP_FPM_INSTALL_YAML}
|
- INSTALL_YAML=${PHP_FPM_INSTALL_YAML}
|
||||||
volumes:
|
volumes:
|
||||||
- ./php-fpm/php${PHP_VERSION}.ini:/usr/local/etc/php/php.ini
|
- ./php-fpm/php${PHP_VERSION}.ini:/usr/local/etc/php/php.ini
|
||||||
|
|
|
@ -163,6 +163,7 @@ PHP_FPM_INSTALL_CALENDAR=false
|
||||||
PHP_FPM_INSTALL_FAKETIME=false
|
PHP_FPM_INSTALL_FAKETIME=false
|
||||||
PHP_FPM_INSTALL_IONCUBE=false
|
PHP_FPM_INSTALL_IONCUBE=false
|
||||||
PHP_FPM_FAKETIME=-0
|
PHP_FPM_FAKETIME=-0
|
||||||
|
PHP_FPM_INSTALL_APCU=false
|
||||||
PHP_FPM_INSTALL_YAML=false
|
PHP_FPM_INSTALL_YAML=false
|
||||||
|
|
||||||
### PHP_WORKER ############################################
|
### PHP_WORKER ############################################
|
||||||
|
|
|
@ -539,6 +539,16 @@ RUN if [ $INSTALL_PHALCON = true ]; then \
|
||||||
&& rm -rf /tmp/cphalcon* \
|
&& rm -rf /tmp/cphalcon* \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
###########################################################################
|
||||||
|
# APCU:
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
ARG INSTALL_APCU=false
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_APCU} = true ]; then \
|
||||||
|
pecl install apcu && \
|
||||||
|
docker-php-ext-enable apcu \
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# YAML:
|
# YAML:
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
Loading…
Reference in New Issue