Commit 5e3e9726 authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

Clone eHive in the right place with a single RUN command

parent 636e7d85
...@@ -10,8 +10,6 @@ ...@@ -10,8 +10,6 @@
FROM ubuntu:16.04 FROM ubuntu:16.04
RUN mkdir /repo
RUN apt-get update -y \ RUN apt-get update -y \
&& apt-get install git build-essential curl sqlite3 mysql-client libmariadb-client-lgpl-dev libpq-dev libexpat1-dev graphviz -y \ && apt-get install git build-essential curl sqlite3 mysql-client libmariadb-client-lgpl-dev libpq-dev libexpat1-dev graphviz -y \
&& apt-get install netcat.openbsd vim perl-doc -y \ && apt-get install netcat.openbsd vim perl-doc -y \
...@@ -23,9 +21,7 @@ RUN ln -s /usr/bin/mariadb_config /usr/bin/mysql_config ...@@ -23,9 +21,7 @@ RUN ln -s /usr/bin/mariadb_config /usr/bin/mysql_config
RUN curl -L https://cpanmin.us | perl - App::cpanminus RUN curl -L https://cpanmin.us | perl - App::cpanminus
RUN cd /repo ; git clone https://github.com/Ensembl/ensembl-hive.git RUN mkdir /repo && git clone -b master https://github.com/Ensembl/ensembl-hive.git /repo/ensembl-hive
RUN cd /repo/ensembl-hive ; git checkout master
RUN cpanm --installdeps --with-recommends /repo/ensembl-hive RUN cpanm --installdeps --with-recommends /repo/ensembl-hive
......
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