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
guiHive
Commits
f461d481
Commit
f461d481
authored
Jun 22, 2017
by
Leo Gordon
Browse files
Run guiHive in a Docker container
parent
22806bc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
+38
-0
docker/Dockerfile
docker/Dockerfile
+38
-0
No files found.
docker/Dockerfile
0 → 100644
View file @
f461d481
# This is a Dockerfile to run a guiHive server in a container
#
# docker build -t guihive .
#
# docker run -p 8081:8080 -it guihive ## Start the server. Port mapping = external:internal
# docker run -p 8082:8080 -it guihive bash ## If you need to do any prior maintenance/tuning - do it in bash, then manually run the CMD below.
FROM
ubuntu:16.04
RUN
mkdir
/guihive_all
RUN
apt-get update
-y
\
&&
apt-get
install
git golang curl sqlite3 mysql-client libmariadb-client-lgpl-dev libpq-dev libexpat1-dev graphviz
-y
\
&&
apt-get clean
&&
rm
-rf
/var/lib/apt/lists/
*
/tmp/
*
/var/tmp/
*
# RUN apt-get install 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
cd
/guihive_all
;
git clone https://github.com/Ensembl/ensembl-hive.git
RUN
cd
/guihive_all
;
git clone https://github.com/Ensembl/guiHive.git
RUN
cd
/guihive_all/ensembl-hive
;
git checkout master
RUN
cpanm
--installdeps
--with-recommends
/guihive_all/ensembl-hive
RUN
cpanm
--installdeps
--with-recommends
/guihive_all/guiHive
RUN
/guihive_all/guiHive/guihive-deploy.sh
RUN
cd
/guihive_all/guiHive/server
;
go build
EXPOSE
8080
CMD
[ "/guihive_all/guiHive/server/server" ]
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