From c6e393f5cea3b28d7b366b2c9121c3ed734a1bff Mon Sep 17 00:00:00 2001 From: Max Mekenya Date: Fri, 17 Mar 2017 10:32:04 +1000 Subject: [PATCH] Update Dockerfile-71 We have already 7.1 image builded. + intl and ghostscript support https://github.com/laradock/laradock/pull/672 https://github.com/laradock/laradock/pull/680 --- php-fpm/Dockerfile-71 | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/php-fpm/Dockerfile-71 b/php-fpm/Dockerfile-71 index 065a32fb..001816c3 100644 --- a/php-fpm/Dockerfile-71 +++ b/php-fpm/Dockerfile-71 @@ -10,7 +10,7 @@ # https://hub.docker.com/r/laradock/php-fpm/tags/ # -FROM laradock/php-fpm:7.1--0.0 # placeholder. Need change after new image would be built. +FROM laradock/php-fpm:7.1--1.3 MAINTAINER Mahmoud Zalt @@ -140,6 +140,32 @@ 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 + +##################################### +# GHOSTSCRIPT: +##################################### + +ARG GHOSTSCRIPT=false +RUN if [ ${GHOSTSCRIPT} = true ]; then \ + # Install the ghostscript extension + # for PDF editing + apt-get -y update \ + && apt-get install -y \ + poppler-utils \ + ghostscript \ +;fi + # #-------------------------------------------------------------------------- # Final Touch