Skip to content

Commit 8ee2229

Browse files
authored
intl support
1 parent c5e2e7e commit 8ee2229

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

php-fpm/Dockerfile-70

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,18 @@ RUN if [ ${CODEIGNITER} = true ]; then \
185185
docker-php-ext-install tokenizer \
186186
;fi
187187

188+
#####################################
189+
# Human Language and Character Encoding Support:
190+
#####################################
191+
192+
ARG INTL=false
193+
RUN if [ ${INTL} = true ]; then \
194+
# Install intl and requirements
195+
apt-get install -y zlib1g-dev libicu-dev g++ && \
196+
docker-php-ext-configure intl && \
197+
docker-php-ext-install intl \
198+
;fi
199+
188200
#
189201
#--------------------------------------------------------------------------
190202
# Final Touch

0 commit comments

Comments
 (0)