Mercurial > repos > davidecangelosi > pipe_t
annotate docker/Dockerfile @ 12:11393eb1c557 draft
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit d1be332a7da0e53b3e6451f0aeda0675f190dd64
author | davidecangelosi |
---|---|
date | Thu, 16 May 2019 10:34:26 -0400 |
parents | ecd0a79e8130 |
children | 5e8bf316343d |
rev | line source |
---|---|
1
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
1 # Galaxy - PIPE_T |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
2 # |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
3 # VERSION 0.2 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
4 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
5 FROM bgruening/galaxy-stable:latest |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
6 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
7 MAINTAINER D. CANGELOSI, davidecangelosi@gaslini.org |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
8 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
9 ENV GALAXY_CONFIG_BRAND="Galaxy PIPE-T" |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
10 ENV ENABLE_TTS_INSTALL True |
12
11393eb1c557
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit d1be332a7da0e53b3e6451f0aeda0675f190dd64
davidecangelosi
parents:
1
diff
changeset
|
11 |
1
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
12 RUN apt-get -y update |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
13 RUN apt-get install -y libxml2-dev libcurl4-openssl-dev curl libcairo2-dev |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
14 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
15 #Workaround for ubuntu |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
16 #RUN cp /etc/ssl/private/ssl-cert-snakeoil.key /etc/ |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
17 #RUN chown root:ssl-cert /etc/ssl-cert-snakeoil.key |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
18 #RUN sed -i -e "s/\/ssl\/private//g" /etc/postgresql/9.3/main/postgresql.conf |
12
11393eb1c557
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit d1be332a7da0e53b3e6451f0aeda0675f190dd64
davidecangelosi
parents:
1
diff
changeset
|
19 ADD docker/galaxy.yml /etc/galaxy/galaxy.yml |
11393eb1c557
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit d1be332a7da0e53b3e6451f0aeda0675f190dd64
davidecangelosi
parents:
1
diff
changeset
|
20 # ADD docker/dependency_resolvers_conf.yml /etc/galaxy/dependency_resolvers_conf.yml |
11393eb1c557
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit d1be332a7da0e53b3e6451f0aeda0675f190dd64
davidecangelosi
parents:
1
diff
changeset
|
21 ADD docker/dependency_resolvers_conf.yml $GALAXY_ROOT/config/dependency_resolvers_conf.yml |
11393eb1c557
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit d1be332a7da0e53b3e6451f0aeda0675f190dd64
davidecangelosi
parents:
1
diff
changeset
|
22 |
1
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
23 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
24 #install pipe_t from toolshed |
12
11393eb1c557
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit d1be332a7da0e53b3e6451f0aeda0675f190dd64
davidecangelosi
parents:
1
diff
changeset
|
25 ADD docker/tools.yml $GALAXY_ROOT/tools.yaml |
1
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
26 RUN install-tools $GALAXY_ROOT/tools.yaml && \ |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
27 /tool_deps/_conda/bin/conda clean --all --yes |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
28 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
29 #RUN chown galaxy:galaxy /usr/local/lib/R/site-library |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
30 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
31 # Mark folders as imported from the host. |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
32 #VOLUME ["/export/", "/data/", "/var/lib/docker"] |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
33 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
34 # Expose port 80 (webserver), 21 (FTP server), 8800 (Proxy) |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
35 EXPOSE :80 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
36 EXPOSE :21 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
37 EXPOSE :8800 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
38 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
39 # Autostart script that is invoked during container start |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
40 CMD ["/usr/bin/startup"] |