Skip to content

Commit 9ae6e45

Browse files
committed
Merge branch 'master' of https://github.com/Laradock/laradock
* 'master' of https://github.com/Laradock/laradock: Update docker-compose.yml intl support
2 parents 94d88e9 + 9e290ff commit 9ae6e45

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ services:
6060
- INSTALL_AEROSPIKE_EXTENSION=${PHP_FPM_INSTALL_AEROSPIKE_EXTENSION}
6161
- INSTALL_MYSQLI=${PHP_FPM_INSTALL_MYSQLI}
6262
- INSTALL_TOKENIZER=${PHP_FPM_INSTALL_TOKENIZER}
63+
- INSTALL_INTL=${PHP_FPM_INSTALL_INTL}
6364
dockerfile: ${PHP_FPM_DOCKER_FILE}
6465
volumes_from:
6566
- applications

php-fpm/Dockerfile-70

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,17 @@ RUN if [ ${INSTALL_TOKENIZER} = true ]; then \
192192
docker-php-ext-install tokenizer \
193193
;fi
194194

195+
#####################################
196+
# Human Language and Character Encoding Support:
197+
#####################################
198+
199+
ARG INSTALL_INTL=false
200+
RUN if [ ${INSTALL_INTL} = true ]; then \
201+
# Install intl and requirements
202+
apt-get install -y zlib1g-dev libicu-dev g++ && \
203+
docker-php-ext-configure intl && \
204+
docker-php-ext-install intl \
205+
195206
#####################################
196207
# GHOSTSCRIPT:
197208
#####################################

0 commit comments

Comments
 (0)