mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/file-setup.git
synced 2024-12-27 03:44:19 +00:00
28 lines
552 B
Docker
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"]
|