Adding GHOSTSCRIPT support

This commit is contained in:
Ignacio Cabrera 2017-03-14 10:59:38 -03:00
parent fd0cbff16c
commit 9c14954ff4

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