rework how pdfs are created 2

This commit is contained in:
Stephan Porada
2020-06-03 10:34:42 +02:00
parent 194156d862
commit 4e17867248
4 changed files with 117 additions and 10 deletions

View File

@ -6,18 +6,21 @@ LABEL maintainer="inf_sfb1288@lists.uni-bielefeld.de"
ENV LANG=C.UTF-8
RUN mkdir /usr/share/man/man1/ # needed to install pdftk https://github.com/geerlingguy/ansible-role-java/issues/64
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
imagemagick \
python3.7 \
pdftk \
zip
RUN rm -rf /var/lib/apt/lists/*
RUN rm -f /etc/ImageMagick-6/policy.xml
COPY file-setup /usr/local/bin
COPY policy.xml /etc/ImageMagick-6
ENTRYPOINT ["file-setup"]