From eb7ce7cef1298d5ad33467343d08323ddb7d116f Mon Sep 17 00:00:00 2001 From: Rhodri Pugh Date: Wed, 6 Jan 2021 20:16:27 +0000 Subject: [PATCH] use pdftk 3.2.2 --- build/base/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/base/Dockerfile b/build/base/Dockerfile index 31f78d84..facabd3a 100644 --- a/build/base/Dockerfile +++ b/build/base/Dockerfile @@ -58,7 +58,10 @@ RUN curl -Ls $UNO_URL -o /usr/bin/unoconv &&\ # | https://github.com/thecodingmachine/gotenberg/issues/29 # | -RUN apt-get -y install pdftk +ARG PDFTK_VERSION=924565150 + +RUN wget -O /usr/bin/pdftk "https://gitlab.com/pdftk-java/pdftk/-/jobs/${PDFTK_VERSION}/artifacts/raw/build/native-image/pdftk" \ + && chmod a+x /usr/bin/pdftk # |-------------------------------------------------------------------------- # | Fonts