Mercurial > repos > davidecangelosi > pipe_t
annotate docker/Dockerfile @ 8:e5953805ad7a draft
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 7d54176ff26ed5f4411edb0582a3704dd90253c0
author | davidecangelosi |
---|---|
date | Tue, 07 May 2019 06:05:32 -0400 |
parents | ecd0a79e8130 |
children | 11393eb1c557 |
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 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
11 |
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 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
19 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
20 #install pipe_t from toolshed |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
21 ADD tools.yml $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
|
22 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
|
23 /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
|
24 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
25 #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
|
26 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
27 # 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
|
28 #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
|
29 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
30 # 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
|
31 EXPOSE :80 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
32 EXPOSE :21 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
33 EXPOSE :8800 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
34 |
ecd0a79e8130
planemo upload for repository https://github.com/igg-molecular-biology-lab/pipe-t.git commit 065f5723959c01b6afec74dad189608477e0ac18
davidecangelosi
parents:
diff
changeset
|
35 # 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
|
36 CMD ["/usr/bin/startup"] |