add gettext extensio php-fpm
This commit is contained in:
parent
04c6aaf338
commit
3cb43e6139
|
@ -187,6 +187,7 @@ services:
|
||||||
- INSTALL_APCU=${PHP_FPM_INSTALL_APCU}
|
- INSTALL_APCU=${PHP_FPM_INSTALL_APCU}
|
||||||
- INSTALL_YAML=${PHP_FPM_INSTALL_YAML}
|
- INSTALL_YAML=${PHP_FPM_INSTALL_YAML}
|
||||||
- INSTALL_RDKAFKA=${PHP_FPM_INSTALL_RDKAFKA}
|
- INSTALL_RDKAFKA=${PHP_FPM_INSTALL_RDKAFKA}
|
||||||
|
- INSTALL_GETTEXT=${PHP_FPM_INSTALL_GETTEXT}
|
||||||
- INSTALL_ADDITIONAL_LOCALES=${PHP_FPM_INSTALL_ADDITIONAL_LOCALES}
|
- INSTALL_ADDITIONAL_LOCALES=${PHP_FPM_INSTALL_ADDITIONAL_LOCALES}
|
||||||
- INSTALL_MYSQL_CLIENT=${PHP_FPM_INSTALL_MYSQL_CLIENT}
|
- INSTALL_MYSQL_CLIENT=${PHP_FPM_INSTALL_MYSQL_CLIENT}
|
||||||
- INSTALL_PING=${PHP_FPM_INSTALL_PING}
|
- INSTALL_PING=${PHP_FPM_INSTALL_PING}
|
||||||
|
|
|
@ -186,6 +186,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_INSTALL_RDKAFKA=false
|
PHP_FPM_INSTALL_RDKAFKA=false
|
||||||
|
PHP_FPM_INSTALL_GETTEXT=false
|
||||||
PHP_FPM_FAKETIME=-0
|
PHP_FPM_FAKETIME=-0
|
||||||
PHP_FPM_INSTALL_APCU=false
|
PHP_FPM_INSTALL_APCU=false
|
||||||
PHP_FPM_INSTALL_YAML=false
|
PHP_FPM_INSTALL_YAML=false
|
||||||
|
|
|
@ -682,6 +682,17 @@ RUN if [ ${INSTALL_RDKAFKA} = true ]; then \
|
||||||
docker-php-ext-enable rdkafka \
|
docker-php-ext-enable rdkafka \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
###########################################################################
|
||||||
|
# GETTEXT:
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
ARG INSTALL_GETTEXT=false
|
||||||
|
|
||||||
|
RUN if [ ${INSTALL_GETTEXT} = true ]; then \
|
||||||
|
apt-get install -y zlib1g-dev libicu-dev g++ libpq-dev libssl-dev gettext && \
|
||||||
|
docker-php-ext-install gettext \
|
||||||
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# Install additional locales:
|
# Install additional locales:
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
|
Loading…
Reference in New Issue