file-setup/Dockerfile
2020-06-03 10:34:42 +02:00

28 lines
552 B
Docker

FROM debian:10-slim
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"]
CMD ["--help"]