From 24975fabd56d6134ac01897801ab5efee5e16663 Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Mon, 30 Jan 2023 17:55:12 +0200 Subject: [PATCH] container: Reinstate OpenJDK 8 dependency Commit d7be28ec2a1d4b1002fa0843e72b6b34d083a46f assumed that OpenJDK was required for the PDFtk package, which is no longer installed in the Dangerzone image, and thus was removed. Turns out that while LibreOffice does not depend on OpenJDK, it may produce corrupted PDFs if installed without it, and will not abort the operation. Reinstate OpenJDK to fix the issue of corrupted PDFs. Fixes #315 --- container/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/container/Dockerfile b/container/Dockerfile index 7adc73b..bb6581c 100644 --- a/container/Dockerfile +++ b/container/Dockerfile @@ -6,6 +6,7 @@ RUN apk -U upgrade && \ ghostscript \ graphicsmagick \ libreoffice \ + openjdk8 \ poppler-utils \ python3 \ py3-magic \