From 64b176103eb6a40d1f57b0fc772db10b9eb9f0a1 Mon Sep 17 00:00:00 2001 From: jonaswinkler Date: Tue, 12 Jan 2021 13:51:44 +0100 Subject: [PATCH] fixes #201 --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Dockerfile b/Dockerfile index 789a15641..1d12e7785 100644 --- a/Dockerfile +++ b/Dockerfile @@ -62,6 +62,14 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* \ && mkdir /var/log/supervisord /var/run/supervisord +# This pulls in updated dependencies from bullseye to fix some issues with file type detection. +# remove this once bullseye releases. +RUN echo "deb http://deb.debian.org/debian bullseye main" > /etc/apt/sources.list.d/bullseye.list \ + && apt-get update \ + && apt-get install --no-install-recommends -y file \ + && rm -rf /var/lib/apt/lists/* \ + && rm /etc/apt/sources.list.d/bullseye.list + # copy scripts # this fixes issues with imagemagick and PDF COPY docker/imagemagick-policy.xml /etc/ImageMagick-6/policy.xml