Commit f1385fbb authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

Combine both commands to reduce the number of layers

parent 78c4af30
...@@ -25,9 +25,8 @@ RUN apt-get update -y && apt-get install -y git && apt-get clean && rm -rf /var/ ...@@ -25,9 +25,8 @@ RUN apt-get update -y && apt-get install -y git && apt-get clean && rm -rf /var/
RUN mkdir /repo && git clone -b master https://github.com/Ensembl/ensembl-hive.git /repo/ensembl-hive RUN mkdir /repo && git clone -b master https://github.com/Ensembl/ensembl-hive.git /repo/ensembl-hive
# Install all the dependencies # Install all the dependencies
RUN /repo/ensembl-hive/docker/setup_os.Ubuntu-16.04.sh RUN /repo/ensembl-hive/docker/setup_os.Ubuntu-16.04.sh \
# Install the missing dependencies (if any) && /repo/ensembl-hive/docker/setup_cpan.Ubuntu-16.04.sh /repo/ensembl-hive
RUN /repo/ensembl-hive/docker/setup_cpan.Ubuntu-16.04.sh /repo/ensembl-hive
ENV PATH "/repo/ensembl-hive/scripts:$PATH" ENV PATH "/repo/ensembl-hive/scripts:$PATH"
ENV PERL5LIB "/repo/ensembl-hive/modules:$PERL5LIB" ENV PERL5LIB "/repo/ensembl-hive/modules:$PERL5LIB"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment