diff --git a/Dockerfile b/Dockerfile index d8ff8c8b5..a88710371 100644 --- a/Dockerfile +++ b/Dockerfile @@ -53,7 +53,7 @@ ARG TARGETARCH # Can be workflow provided, defaults set for manual building ARG JBIG2ENC_VERSION=0.29 ARG QPDF_VERSION=11.9.0 -ARG GS_VERSION=10.02.1 +ARG GS_VERSION=10.03.1 # Set Python environment variables ENV PYTHONDONTWRITEBYTECODE=1 \ @@ -128,17 +128,17 @@ RUN set -eux \ && dpkg --install ./qpdf_${QPDF_VERSION}-1_${TARGETARCH}.deb \ && echo "Installing Ghostscript ${GS_VERSION}" \ && curl --fail --silent --show-error --location \ - --output libgs10_${GS_VERSION}.dfsg-2_${TARGETARCH}.deb \ - https://github.com/paperless-ngx/builder/releases/download/ghostscript-${GS_VERSION}/libgs10_${GS_VERSION}.dfsg-1_${TARGETARCH}.deb \ + --output libgs10_${GS_VERSION}.dfsg.git20240518-1_${TARGETARCH}.deb \ + https://github.com/paperless-ngx/builder/releases/download/ghostscript-${GS_VERSION}/libgs10_${GS_VERSION}.dfsg.git20240518-1_${TARGETARCH}.deb \ && curl --fail --silent --show-error --location \ - --output ghostscript_${GS_VERSION}.dfsg-2_${TARGETARCH}.deb \ - https://github.com/paperless-ngx/builder/releases/download/ghostscript-${GS_VERSION}/ghostscript_${GS_VERSION}.dfsg-1_${TARGETARCH}.deb \ + --output ghostscript_${GS_VERSION}.dfsg.git20240518-1_${TARGETARCH}.deb \ + https://github.com/paperless-ngx/builder/releases/download/ghostscript-${GS_VERSION}/ghostscript_${GS_VERSION}.dfsg.git20240518-1_${TARGETARCH}.deb \ && curl --fail --silent --show-error --location \ - --output libgs10-common_${GS_VERSION}.dfsg-2_all.deb \ - https://github.com/paperless-ngx/builder/releases/download/ghostscript-${GS_VERSION}/libgs10-common_${GS_VERSION}.dfsg-1_all.deb \ - && dpkg --install ./libgs10-common_${GS_VERSION}.dfsg-2_all.deb \ - && dpkg --install ./libgs10_${GS_VERSION}.dfsg-2_${TARGETARCH}.deb \ - && dpkg --install ./ghostscript_${GS_VERSION}.dfsg-2_${TARGETARCH}.deb \ + --output libgs10-common_${GS_VERSION}.dfsg.git20240518-1_all.deb \ + https://github.com/paperless-ngx/builder/releases/download/ghostscript-${GS_VERSION}/libgs10-common_${GS_VERSION}.dfsg.git20240518-1_all.deb \ + && dpkg --install ./libgs10-common_${GS_VERSION}.dfsg.git20240518-1_all.deb \ + && dpkg --install ./libgs10_${GS_VERSION}.dfsg.git20240518-1_${TARGETARCH}.deb \ + && dpkg --install ./ghostscript_${GS_VERSION}.dfsg.git20240518-1_${TARGETARCH}.deb \ && echo "Installing jbig2enc" \ && curl --fail --silent --show-error --location \ --output jbig2enc_${JBIG2ENC_VERSION}-1_${TARGETARCH}.deb \ diff --git a/docs/setup.md b/docs/setup.md index 6d1dc553c..52e4453bf 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -300,8 +300,17 @@ supported. - `libatlas-base-dev` - `libxslt1-dev` - You will also need `build-essential`, `python3-setuptools` and - `python3-wheel` for installing some of the python dependencies. + You will also need these for installing some of the python dependencies: + + - `build-essential` + - `python3-setuptools` + - `python3-wheel` + + Use this list for your preferred package management: + + ``` + build-essential python3-setuptools python3-wheel + ``` 2. Install `redis` >= 6.0 and configure it to start automatically.