file-setup/Dockerfile

28 lines
552 B
Docker
Raw Normal View History

2020-04-06 07:22:04 +00:00
FROM debian:10-slim
2020-01-07 14:13:10 +00:00
LABEL maintainer="inf_sfb1288@lists.uni-bielefeld.de"
ENV LANG=C.UTF-8
2020-06-03 08:34:42 +00:00
RUN mkdir /usr/share/man/man1/ # needed to install pdftk https://github.com/geerlingguy/ansible-role-java/issues/64
2020-01-07 14:13:10 +00:00
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
2020-06-03 08:34:42 +00:00
ca-certificates \
2020-01-07 14:13:10 +00:00
imagemagick \
2020-04-06 07:22:04 +00:00
python3.7 \
2020-06-03 08:34:42 +00:00
pdftk \
2020-04-06 07:22:04 +00:00
zip
RUN rm -rf /var/lib/apt/lists/*
2020-06-03 08:34:42 +00:00
RUN rm -f /etc/ImageMagick-6/policy.xml
2020-01-07 14:13:10 +00:00
2020-04-09 07:53:42 +00:00
COPY file-setup /usr/local/bin
2020-06-03 08:34:42 +00:00
COPY policy.xml /etc/ImageMagick-6
2020-01-07 14:13:10 +00:00
2020-01-27 12:48:24 +00:00
2020-04-09 07:53:42 +00:00
ENTRYPOINT ["file-setup"]
2020-01-07 14:13:10 +00:00
CMD ["--help"]