Skip to content

Commit 81211ad

Browse files
committed
Build Ghostscript from source
1 parent 2e4aac6 commit 81211ad

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

arch/Dockerfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ RUN pacman -Sy --noconfirm \
2222
extra/openjpeg2 \
2323
extra/tk \
2424
gcc \
25-
ghostscript \
2625
git \
2726
make \
2827
mesa-libgl \
@@ -41,6 +40,12 @@ RUN cd /depends \
4140
&& ./install_imagequant.sh \
4241
&& ./install_raqm.sh
4342

43+
RUN wget -q https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10051/ghostscript-10.05.1.tar.gz \
44+
&& tar -xzf ghostscript-10.05.1.tar.gz \
45+
&& cd ghostscript-10.05.1 \
46+
&& CFLAGS="-std=gnu17" ./configure --without-x \
47+
&& make install
48+
4449
ARG PIP_DISABLE_PIP_VERSION_CHECK=1
4550
ARG PIP_NO_CACHE_DIR=1
4651

0 commit comments

Comments
 (0)