Mercurial > repos > fubar > tool_factory_2
view toolfactory/docker/Dockerfile @ 46:f8700bed1e17 draft
Uploaded
author | fubar |
---|---|
date | Tue, 18 Aug 2020 08:25:43 -0400 |
parents | f8c1694190f0 |
children |
line wrap: on
line source
# Galaxy - Toolshed Docker image # Derived from bgruening stable galaxy # VERSION 0.2 # patches startup so the below will install a workflow dropped into $GALAXY_ROOT/workflows # 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 FROM quay.io/bgruening/galaxy:20.05 MAINTAINER Ross Lazarus ross.lazarus@gmail.com ENV GALAXY_CONFIG_BRAND=ToolFactory ENV GALAXY_LOGGING="full" ADD tfwelcome.html /export/welcome.html # RUN add-tool-shed --url 'http://testtoolshed.g2.bx.psu.edu/' --name 'Test Tool Shed' RUN mkdir -p /tftools \ && mkdir -p /tftools/toolfactory \ && mkdir -p /tftools/planemo_test ADD ./tftools/toolfactory /tftools/toolfactory ADD ./tftools/tf_tool_conf.xml /tftools/tf_tool_conf.xml ADD ./tftools/planemo_test /tftools/planemo_test ADD TF_example_wf.ga /tftools/TF_example_wf.ga ADD my_tool_list.yml /tftools/toolfactory_tools.yaml ENV GALAXY_AUTO_UPDATE_TOOLS=/tftools/toolfactory_tools.yaml # NOTE above does work but takes 1-2 minutes # ENV GALAXY_CONFIG_TOOL_CONFIG_FILE=config/tool_conf.xml.sample,config/tf_tool_conf.xml,config/shed_tool_conf.xml.sample #ENV GALAXY_CONFIG_TOOL_CONFIG_FILE=/tftools/tf_tool_conf.xml,config/tool_conf.xml.sample # works but does not install dependencies # Add workflows to the Docker image ENV $GALAXY_DEFAULT_ADMIN_USER="admin" # ensure triggering post-start-actions.sh ADD tftools/datatypes_conf.xml $GALAXY_ROOT/conf/datatypes_conf.xml.sample ADD post-start-actions.sh /export/post-start-actions.sh ADD post-start-actions.sh $GALAXY_ROOT/config/post-start-actions.sh RUN chmod a+xr /export/post-start-actions.sh \ && chmod a+xr /tftools/TF_example_wf.ga \ && chmod a+xr $GALAXY_ROOT/config/post-start-actions.sh # Add Galaxy interactive tours # ADD ./rna-workbench-tours/* $GALAXY_ROOT/config/plugins/tours/ # Add data library definition file # ADD library_data.yaml $GALAXY_ROOT/library_data.yaml VOLUME ["/export/", "/data/", "/var/lib/docker"] EXPOSE :80 EXPOSE :21 EXPOSE :8800 CMD ["/usr/bin/startup"]