From 8ee2229c849b9556e08be4d4bd53f3f1bca24ab0 Mon Sep 17 00:00:00 2001 From: Max Mekenya Date: Thu, 16 Mar 2017 09:59:05 +1000 Subject: [PATCH 1/2] intl support --- php-fpm/Dockerfile-70 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/php-fpm/Dockerfile-70 b/php-fpm/Dockerfile-70 index f607123..14256de 100644 --- a/php-fpm/Dockerfile-70 +++ b/php-fpm/Dockerfile-70 @@ -185,6 +185,18 @@ RUN if [ ${CODEIGNITER} = true ]; then \ docker-php-ext-install tokenizer \ ;fi +##################################### +# Human Language and Character Encoding Support: +##################################### + +ARG INTL=false +RUN if [ ${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 \ +;fi + # #-------------------------------------------------------------------------- # Final Touch From c62ce7d36fc578fe1e30bb6271f599b48844125f Mon Sep 17 00:00:00 2001 From: Max Mekenya Date: Thu, 16 Mar 2017 09:59:52 +1000 Subject: [PATCH 2/2] Update docker-compose.yml --- docker-compose.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-compose.yml b/docker-compose.yml index 3199a3f..b6627b5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -59,6 +59,7 @@ services: - INSTALL_EXIF=false - INSTALL_AEROSPIKE_EXTENSION=false - CODEIGNITER=false + - INTL=false dockerfile: Dockerfile-70 volumes_from: - applications