Skip to content

Commit c6e393f

Browse files
authored
Update Dockerfile-71
We have already 7.1 image builded. + intl and ghostscript support laradock#672 laradock#680
1 parent aedc7c8 commit c6e393f

1 file changed

Lines changed: 27 additions & 1 deletion

File tree

php-fpm/Dockerfile-71

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# https://hub.docker.com/r/laradock/php-fpm/tags/
1111
#
1212

13-
FROM laradock/php-fpm:7.1--0.0 # placeholder. Need change after new image would be built.
13+
FROM laradock/php-fpm:7.1--1.3
1414

1515
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
1616

@@ -140,6 +140,32 @@ RUN if [ ${CODEIGNITER} = true ]; then \
140140
docker-php-ext-install tokenizer \
141141
;fi
142142

143+
#####################################
144+
# Human Language and Character Encoding Support:
145+
#####################################
146+
147+
ARG INTL=false
148+
RUN if [ ${INTL} = true ]; then \
149+
# Install intl and requirements
150+
apt-get install -y zlib1g-dev libicu-dev g++ && \
151+
docker-php-ext-configure intl && \
152+
docker-php-ext-install intl \
153+
;fi
154+
155+
#####################################
156+
# GHOSTSCRIPT:
157+
#####################################
158+
159+
ARG GHOSTSCRIPT=false
160+
RUN if [ ${GHOSTSCRIPT} = true ]; then \
161+
# Install the ghostscript extension
162+
# for PDF editing
163+
apt-get -y update \
164+
&& apt-get install -y \
165+
poppler-utils \
166+
ghostscript \
167+
;fi
168+
143169
#
144170
#--------------------------------------------------------------------------
145171
# Final Touch

0 commit comments

Comments
 (0)