Merge pull request #2322 from Fernando-Larios/master
add GETTEXT extension php-fpm
This commit is contained in:
commit
a190f11e8f
@ -198,6 +198,7 @@ services:
|
||||
- INSTALL_CACHETOOL=${PHP_FPM_INSTALL_CACHETOOL}
|
||||
- INSTALL_YAML=${PHP_FPM_INSTALL_YAML}
|
||||
- INSTALL_RDKAFKA=${PHP_FPM_INSTALL_RDKAFKA}
|
||||
- INSTALL_GETTEXT=${PHP_FPM_INSTALL_GETTEXT}
|
||||
- INSTALL_ADDITIONAL_LOCALES=${PHP_FPM_INSTALL_ADDITIONAL_LOCALES}
|
||||
- INSTALL_MYSQL_CLIENT=${PHP_FPM_INSTALL_MYSQL_CLIENT}
|
||||
- INSTALL_PING=${PHP_FPM_INSTALL_PING}
|
||||
|
@ -192,6 +192,7 @@ PHP_FPM_INSTALL_CALENDAR=false
|
||||
PHP_FPM_INSTALL_FAKETIME=false
|
||||
PHP_FPM_INSTALL_IONCUBE=false
|
||||
PHP_FPM_INSTALL_RDKAFKA=false
|
||||
PHP_FPM_INSTALL_GETTEXT=false
|
||||
PHP_FPM_FAKETIME=-0
|
||||
PHP_FPM_INSTALL_APCU=false
|
||||
PHP_FPM_INSTALL_CACHETOOL=false
|
||||
|
@ -682,6 +682,17 @@ RUN if [ ${INSTALL_RDKAFKA} = true ]; then \
|
||||
docker-php-ext-enable rdkafka \
|
||||
;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:
|
||||
###########################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user