Skip to content

Commit 9c14954

Browse files
Adding GHOSTSCRIPT support
1 parent fd0cbff commit 9c14954

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

php-fpm/Dockerfile-70

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

189+
#####################################
190+
# GHOSTSCRIPT:
191+
#####################################
192+
193+
ARG GHOSTSCRIPT=false
194+
RUN if [ ${GHOSTSCRIPT} = true ]; then \
195+
# Install the ghostscript extension
196+
# for PDF editing
197+
apt-get -y update \
198+
&& apt-get install -y \
199+
poppler-utils \
200+
ghostscript \
201+
;fi
202+
189203
#
190204
#--------------------------------------------------------------------------
191205
# Final Touch

0 commit comments

Comments
 (0)