file-setup/Dockerfile

41 lines
1018 B
Docker
Raw Normal View History

2020-10-08 21:17:38 +00:00
FROM debian:buster-slim
2020-01-07 14:13:10 +00:00
2021-04-12 12:55:14 +00:00
LABEL authors="Patrick Jentsch <p.jentsch@uni-bielefeld.de>, Stephan Porada <porada@posteo.de>"
2020-01-07 14:13:10 +00:00
ENV LANG=C.UTF-8
2020-09-18 09:17:29 +00:00
2020-01-07 14:13:10 +00:00
RUN apt-get update \
2020-10-08 21:09:35 +00:00
&& apt-get install --no-install-recommends --yes \
2022-01-18 11:58:42 +00:00
imagemagick \
procps \
wget \
&& mv /etc/ImageMagick-6/policy.xml /etc/ImageMagick-6/policy.xml.bak
2021-04-12 12:55:14 +00:00
2022-01-18 11:58:42 +00:00
# Install the File setup pipeline and it's dependencies #
2021-04-12 12:55:14 +00:00
## Install pyFlow ##
ENV PYFLOW_VERSION=1.1.20
RUN wget --no-check-certificate --quiet \
"https://github.com/Illumina/pyflow/releases/download/v${PYFLOW_VERSION}/pyflow-${PYFLOW_VERSION}.tar.gz" \
2022-01-18 11:58:42 +00:00
&& tar -xzf "pyflow-${PYFLOW_VERSION}.tar.gz" \
&& cd "pyflow-${PYFLOW_VERSION}" \
&& apt-get install --no-install-recommends --yes \
python2.7 \
&& python2.7 setup.py build install \
&& cd - > /dev/null \
&& rm -r "pyflow-${PYFLOW_VERSION}" "pyflow-${PYFLOW_VERSION}.tar.gz"
2021-04-12 12:55:14 +00:00
2022-01-18 11:58:42 +00:00
RUN rm -r /var/lib/apt/lists/*
2020-09-18 09:17:29 +00:00
2020-04-06 07:22:04 +00:00
2021-04-12 12:55:14 +00:00
## Install Pipeline ##
COPY file-setup /usr/local/bin
2020-04-06 07:22:04 +00:00
2020-01-07 14:13:10 +00:00
2020-04-09 07:53:42 +00:00
ENTRYPOINT ["file-setup"]
2020-01-07 14:13:10 +00:00
CMD ["--help"]