diff --git a/arch/Dockerfile b/arch/Dockerfile index 7b944615..6c456867 100644 --- a/arch/Dockerfile +++ b/arch/Dockerfile @@ -22,7 +22,6 @@ RUN pacman -Sy --noconfirm \ extra/openjpeg2 \ extra/tk \ gcc \ - ghostscript \ git \ make \ mesa-libgl \ @@ -41,6 +40,12 @@ RUN cd /depends \ && ./install_imagequant.sh \ && ./install_raqm.sh +RUN wget -q https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10051/ghostscript-10.05.1.tar.gz \ + && tar -xzf ghostscript-10.05.1.tar.gz \ + && cd ghostscript-10.05.1 \ + && CFLAGS="-std=gnu17" ./configure --without-x \ + && make install + ARG PIP_DISABLE_PIP_VERSION_CHECK=1 ARG PIP_NO_CACHE_DIR=1