From 759f84e25da7b54ed79fb35f4b9c1b00d164b9e8 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Thu, 23 Jul 2020 16:48:06 +0300
Subject: [PATCH] Replace pdftk with qpdf.

pdftk is now pdftk-java which drags in the JRE and makes the image even
bigger (and startup times longer). Use qpdf instead.
---
 Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 653e6eb..c81b93e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -17,7 +17,6 @@ RUN apt-get update && \
         lmodern \
         make \
         pandoc \
-        pdftk \
         texlive-extra-utils \
         texlive-fonts-extra \
         texlive-fonts-recommended \
@@ -29,6 +28,7 @@ RUN apt-get update && \
         texlive-luatex \
         texlive-publishers \
         texlive-xetex \
+        qpdf \
     && \
     rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/*
 ADD [ "https://www.shore.co.il/blog/static/runas", "/entrypoint" ]
-- 
GitLab