41
|
1 # Galaxy - Toolshed Docker image
|
|
2 # Derived from bgruening stable galaxy
|
|
3 # VERSION 0.2
|
|
4 # patches startup so the below will install a workflow dropped into $GALAXY_ROOT/workflows
|
|
5 # use docker run -p 8080:80 -d -e GALAXY_AUTO_UPDATE_WORKFLOWS=/galaxy-central/workflows/TF_sample_wf.ga -v /home/ubuntu/galaxy_storage/:/export/ toolfactory
|
46
|
6 FROM quay.io/bgruening/galaxy:20.05
|
41
|
7 MAINTAINER Ross Lazarus ross.lazarus@gmail.com
|
|
8
|
|
9 ENV GALAXY_CONFIG_BRAND=ToolFactory
|
|
10 ENV GALAXY_LOGGING="full"
|
46
|
11 ADD tfwelcome.html /export/welcome.html
|
41
|
12 # RUN add-tool-shed --url 'http://testtoolshed.g2.bx.psu.edu/' --name 'Test Tool Shed'
|
46
|
13 RUN mkdir -p /tftools \
|
|
14 && mkdir -p /tftools/toolfactory \
|
|
15 && mkdir -p /tftools/planemo_test
|
|
16
|
|
17 ADD ./tftools/toolfactory /tftools/toolfactory
|
|
18 ADD ./tftools/tf_tool_conf.xml /tftools/tf_tool_conf.xml
|
|
19 ADD ./tftools/planemo_test /tftools/planemo_test
|
|
20 ADD TF_example_wf.ga /tftools/TF_example_wf.ga
|
41
|
21
|
46
|
22 ADD my_tool_list.yml /tftools/toolfactory_tools.yaml
|
|
23
|
|
24 ENV GALAXY_AUTO_UPDATE_TOOLS=/tftools/toolfactory_tools.yaml
|
|
25 # NOTE above does work but takes 1-2 minutes
|
|
26
|
|
27 # ENV GALAXY_CONFIG_TOOL_CONFIG_FILE=config/tool_conf.xml.sample,config/tf_tool_conf.xml,config/shed_tool_conf.xml.sample
|
|
28 #ENV GALAXY_CONFIG_TOOL_CONFIG_FILE=/tftools/tf_tool_conf.xml,config/tool_conf.xml.sample
|
|
29 # works but does not install dependencies
|
41
|
30 # Add workflows to the Docker image
|
46
|
31
|
|
32 ENV $GALAXY_DEFAULT_ADMIN_USER="admin"
|
|
33 # ensure triggering post-start-actions.sh
|
|
34
|
|
35 ADD tftools/datatypes_conf.xml $GALAXY_ROOT/conf/datatypes_conf.xml.sample
|
41
|
36 ADD post-start-actions.sh /export/post-start-actions.sh
|
46
|
37 ADD post-start-actions.sh $GALAXY_ROOT/config/post-start-actions.sh
|
|
38
|
41
|
39 RUN chmod a+xr /export/post-start-actions.sh \
|
46
|
40 && chmod a+xr /tftools/TF_example_wf.ga \
|
|
41 && chmod a+xr $GALAXY_ROOT/config/post-start-actions.sh
|
41
|
42 # Add Galaxy interactive tours
|
|
43 # ADD ./rna-workbench-tours/* $GALAXY_ROOT/config/plugins/tours/
|
|
44 # Add data library definition file
|
|
45 # ADD library_data.yaml $GALAXY_ROOT/library_data.yaml
|
46
|
46
|
|
47 VOLUME ["/export/", "/data/", "/var/lib/docker"]
|
41
|
48 EXPOSE :80
|
|
49 EXPOSE :21
|
|
50 EXPOSE :8800
|
46
|
51
|
41
|
52 CMD ["/usr/bin/startup"]
|