Merge pull request #672 from cabrerabywaters/GOHSTSCRIPT_SUPPORT

Gohstscript support
This commit is contained in:
Mahmoud Zalt 2017-03-16 13:11:08 -04:00 committed by GitHub
commit be39e93ea2
2 changed files with 15 additions and 0 deletions

View File

@ -61,6 +61,7 @@ services:
- INSTALL_EXIF=false
- INSTALL_AEROSPIKE_EXTENSION=false
- CODEIGNITER=false
- GHOSTSCRIPT=false
dockerfile: Dockerfile-70
volumes_from:
- applications

View File

@ -186,6 +186,20 @@ RUN if [ ${CODEIGNITER} = true ]; then \
docker-php-ext-install tokenizer \
;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