-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
65 lines (50 loc) · 2.71 KB
/
Dockerfile
File metadata and controls
65 lines (50 loc) · 2.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
FROM bgruening/galaxy-stable:19.09
LABEL maintainer="Reid Wagner, wagnerr@umn.edu"
ENV GALAXY_CONFIG_BRAND CloudForest
ADD tool_conf.xml $GALAXY_ROOT/config/
COPY welcome.html $GALAXY_CONFIG_DIR/web/welcome.html
ADD welcome_bootstrap.min.css $GALAXY_CONFIG_DIR/web/welcome_bootstrap.min.css
ADD Galaxy-Workflow-Example_CloudForest_Workflow.ga $GALAXY_HOME/workflows/
RUN startup_lite && \
/tool_deps/_conda/bin/galaxy-wait && \
/tool_deps/_conda/bin/workflow-install --workflow_path $GALAXY_HOME/workflows/ -g http://localhost:8080 -u $GALAXY_DEFAULT_ADMIN_USER -p $GALAXY_DEFAULT_ADMIN_PASSWORD --publish_workflows
USER galaxy
RUN mkdir $GALAXY_ROOT/tools/treescaper
ADD ./treescaper_tool/treescaper-trees.xml $GALAXY_ROOT/tools/treescaper
ADD ./treescaper_tool/treescaper-cra.xml $GALAXY_ROOT/tools/treescaper
ADD ./treescaper_tool/treescaper-nldr.xml $GALAXY_ROOT/tools/treescaper
ADD ./treescaper_tool/treescaper-community.xml $GALAXY_ROOT/tools/treescaper
ADD ./treescaper_tool/treescaper-affinity.xml $GALAXY_ROOT/tools/treescaper
ADD ./treescaper_tool/treescaper-dimest.xml $GALAXY_ROOT/tools/treescaper
ADD ./treescaper_tool/treescaper_macros.xml $GALAXY_ROOT/tools/treescaper
ADD ./treescaper_tool/CLVTreeScaper $GALAXY_ROOT/tools/treescaper
ADD ./treescaper_tool/CLVTreeScaper2 $GALAXY_ROOT/tools/treescaper
ADD ./treescaper_tool/dimest_parameters.csv $GALAXY_ROOT/tools/treescaper
ADD ./treescaper_tool/nldr_parameters.csv $GALAXY_ROOT/tools/treescaper
ADD ./treescaper_tool/subsample.py $GALAXY_ROOT/tools/treescaper
ADD ./treescaper_tool/clean_header.py $GALAXY_ROOT/tools/treescaper
RUN mkdir $GALAXY_ROOT/tools/cloudforest_cat
ADD ./cloudforest_cat_tool/cloudforest_cat.xml $GALAXY_ROOT/tools/cloudforest_cat
RUN mkdir $GALAXY_ROOT/tools/iqtree
ADD ./iqtree_tool/iqtree.xml $GALAXY_ROOT/tools/iqtree
ADD ./iqtree_tool/iqtree_macros.xml $GALAXY_ROOT/tools/iqtree
ADD ./iqtree_tool/iqtree $GALAXY_ROOT/tools/iqtree
# Add for CloudForest datatype
ADD ./custom_src/datatypes_conf.xml $GALAXY_ROOT/config/
ADD ./custom_src/cloudforest.py $GALAXY_ROOT/lib/galaxy/datatypes/
# Add visualization code to galaxy
ADD cloudforest.tar.gz $GALAXY_ROOT/static/plugins/visualizations/
ADD cloudforest.tar.gz $GALAXY_ROOT/config/plugins/visualizations/
USER root
# This is needed due to an outdated GPG key used for yarn
RUN apt-key adv --refresh-keys --keyserver keyserver.ubuntu.com
# Install dependency for CLVTreeScaper2
RUN apt-get update && apt-get install -y libpugixml1v5
# Mark folders as imported from the host.
VOLUME ["/export/", "/data/", "/var/lib/docker"]
# Expose port 80 (webserver), 21 (FTP server), 8800 (Proxy)
EXPOSE 80/tcp
EXPOSE 21/tcp
EXPOSE 8800/tcp
# Autostart script that is invoked during container start
CMD ["/usr/bin/startup"]