This commit is contained in:
jonaswinkler 2021-01-12 13:51:44 +01:00
parent 7f88c7d70c
commit 64b176103e

View File

@ -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