FROM debian:buster-slim
LABEL authors="Patrick Jentsch
, Stephan Porada "
ENV LANG=C.UTF-8
RUN apt-get update \
&& apt-get install --no-install-recommends --yes \
imagemagick \
python3.7 \
zip \
&& rm -r /var/lib/apt/lists/*
RUN mv /etc/ImageMagick-6/policy.xml /etc/ImageMagick-6/policy.xml.bak
COPY file-setup /usr/local/bin
ENTRYPOINT ["file-setup"]
CMD ["--help"]