intl support

This commit is contained in:
Max Mekenya 2017-03-16 09:59:05 +10:00 committed by GitHub
parent c5e2e7e1e2
commit 8ee2229c84
1 changed files with 12 additions and 0 deletions

View File

@ -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