Merge pull request #680 from cjmaxik/feature-intl
Adding intl support to php-fpm container
This commit is contained in:
commit
9e290ffddb
|
@ -60,6 +60,7 @@ services:
|
||||||
- INSTALL_AEROSPIKE_EXTENSION=${PHP_FPM_INSTALL_AEROSPIKE_EXTENSION}
|
- INSTALL_AEROSPIKE_EXTENSION=${PHP_FPM_INSTALL_AEROSPIKE_EXTENSION}
|
||||||
- INSTALL_MYSQLI=${PHP_FPM_INSTALL_MYSQLI}
|
- INSTALL_MYSQLI=${PHP_FPM_INSTALL_MYSQLI}
|
||||||
- INSTALL_TOKENIZER=${PHP_FPM_INSTALL_TOKENIZER}
|
- INSTALL_TOKENIZER=${PHP_FPM_INSTALL_TOKENIZER}
|
||||||
|
- INSTALL_INTL=${PHP_FPM_INSTALL_INTL}
|
||||||
dockerfile: ${PHP_FPM_DOCKER_FILE}
|
dockerfile: ${PHP_FPM_DOCKER_FILE}
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- applications
|
- applications
|
||||||
|
|
|
@ -192,6 +192,17 @@ RUN if [ ${INSTALL_TOKENIZER} = true ]; then \
|
||||||
docker-php-ext-install tokenizer \
|
docker-php-ext-install tokenizer \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
|
#####################################
|
||||||
|
# Human Language and Character Encoding Support:
|
||||||
|
#####################################
|
||||||
|
|
||||||
|
ARG INSTALL_INTL=false
|
||||||
|
RUN if [ ${INSTALL_INTL} = true ]; then \
|
||||||
|
# Install intl and requirements
|
||||||
|
apt-get install -y zlib1g-dev libicu-dev g++ && \
|
||||||
|
docker-php-ext-configure intl && \
|
||||||
|
docker-php-ext-install intl \
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
# GHOSTSCRIPT:
|
# GHOSTSCRIPT:
|
||||||
#####################################
|
#####################################
|
||||||
|
|
Loading…
Reference in New Issue