Commit 6054c2d2 authored by Mahmoud Zalt's avatar Mahmoud Zalt Committed by GitHub

Merge pull request #686 from cjmaxik/patch-3

Update Dockerfile-71
parents 5589a12b c6e393f5
......@@ -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 <mahmoud@zalt.me>
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment