diff --git a/for_tests/Dockerfile b/for_tests/Dockerfile index 60d4043cc661096012154ae96343e89d4b80f5d0..3abf22ed632c669ede4ff646e5ab195ab82dfb14 100644 --- a/for_tests/Dockerfile +++ b/for_tests/Dockerfile @@ -1,26 +1,29 @@ from ubuntu:16.04 + # Update apt-get packages RUN apt-get update &&\ apt-get -y upgrade -# Install package needed + +# Install package needed and update pip RUN apt-get install -y \ wget \ python3-pip \ cmake # to install mmseqs -# Update pip RUN pip3 install --upgrade pip + # Install barrnap WORKDIR /tmp RUN wget https://github.com/tseemann/barrnap/archive/0.8.tar.gz &&\ tar -xf 0.8.tar.gz &&\ - rm 0.8.tar.gz -RUN mv /tmp/barrnap-0.8/bin/barrnap /usr/local/bin -# Remove heavy useless files -RUN rm -r /tmp/barrnap-0.8/examples /tmp/barrnap-0.8/build/*.aln + rm 0.8.tar.gz &&\ + mv /tmp/barrnap-0.8/bin/barrnap /usr/local/bin &&\ + # Remove heavy useless files + rm -r /tmp/barrnap-0.8/examples /tmp/barrnap-0.8/build/*.aln + # Install prokka: WORKDIR /tmp @@ -30,17 +33,23 @@ RUN apt-get install -y\ libdigest-md5-perl \ git \ default-jre \ - bioperl -RUN git clone https://github.com/tseemann/prokka.git -RUN /tmp/prokka/bin/prokka --setupdb -RUN ln -s /tmp/prokka/bin/prokka /usr/local/bin + bioperl &&\ + git clone https://github.com/tseemann/prokka.git +RUN /tmp/prokka/bin/prokka --setupdb &&\ + ln -s /tmp/prokka/bin/prokka /usr/local/bin + # Install mmseqs2 WORKDIR /tmp RUN wget https://mmseqs.com/latest/mmseqs-static_sse41.tar.gz &&\ tar xf mmseqs-static_sse41.tar.gz &&\ - rm mmseqs-static_sse41.tar.gz -RUN mv /tmp/mmseqs2/bin/mmseqs /usr/local/bin -# remove useless files -RUN rm -r /tmp/mmseqs2 + rm mmseqs-static_sse41.tar.gz &&\ + mv /tmp/mmseqs2/bin/mmseqs /usr/local/bin &&\ + # remove useless files + rm -r /tmp/mmseqs2 + + +# Install sphinx +RUN pip3 install sphinx &&\ + pip3 install sphinx_rtd_theme \ No newline at end of file