Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
b1351cd8
Commit
b1351cd8
authored
Jul 10, 2017
by
Matthieu Muffato
Browse files
Install the dependencies via apt-get to save time
cpanm is still run to catch the missing ones (if any)
parent
36539527
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
docker/Dockerfile
docker/Dockerfile
+13
-5
No files found.
docker/Dockerfile
View file @
b1351cd8
...
...
@@ -11,18 +11,26 @@
FROM
ubuntu:16.04
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
netcat.openbsd vim perl-doc
-y
\
# Needed to clone the checkout and use cpanm
&& apt-get install -y cpanminus git build-essential \
# Database-related dependencies
sqlite3 libdbd-sqlite3-perl postgresql-client libdbd-pg-perl mysql-client libdbd-mysql-perl libdbi-perl \
# Required Perl modules
libcapture-tiny-perl libdatetime-perl libhtml-parser-perl libjson-perl \
# Perl modules needed for the test-suite
libtest-exception-perl libtest-simple-perl libtest-warn-perl libtest-warnings-perl libtest-file-contents-perl libtest-perl-critic-perl libgraphviz-perl \
# Recommendations
libgetopt-argvfile-perl libchart-gnuplot-perl libbsd-resource-perl \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# RUN apt-get install iputils-ping net-tools apt-file -y
## Useful for debugging
# RUN apt-get install netcat.openbsd vim perl-doc iputils-ping net-tools apt-file -y
RUN
ln
-s
/usr/bin/mariadb_config /usr/bin/mysql_config
RUN
curl
-L
https://cpanmin.us | perl - App::cpanminus
RUN
mkdir
/repo
&&
git clone
-b
master https://github.com/Ensembl/ensembl-hive.git /repo/ensembl-hive
# Install the missing dependencies (if any)
RUN
cpanm
--installdeps
--with-recommends
/repo/ensembl-hive
# for the processes you run in an interactive bash
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment