Skip to content

Commit 2a2770f

Browse files
committed
add new script to Dockerfile
1 parent 58afc1d commit 2a2770f

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

Dockerfile

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,27 @@ ENV ENABLE_TTS_INSTALL True
1010
# Enable Conda dependency resolution
1111
ENV GALAXY_CONFIG_CONDA_AUTO_INSTALL=True \
1212
GALAXY_CONFIG_CONDA_AUTO_INIT=True \
13-
GALAXY_CONFIG_USE_CACHED_DEPENDENCY_MANAGER=True
13+
GALAXY_CONFIG_USE_CACHED_DEPENDENCY_MANAGER=True
1414

1515
# Install tools
1616
ADD graphclust.yml $GALAXY_ROOT/tools.yaml
1717
RUN install-tools $GALAXY_ROOT/tools.yaml && \
1818
/tool_deps/_conda/bin/conda clean --tarballs
1919

2020
ADD tour_graphclust_wf.yaml $GALAXY_ROOT/config/plugins/tours/graphclust.wf.yaml
21+
22+
# Data libraries
23+
ADD setup_data_libraries.py $GALAXY_ROOT/setup_data_libraries.py
24+
ADD library_data.yaml $GALAXY_ROOT/library_data.yaml
25+
26+
# Hacky script to import workflows into Galaxy after installation. I would argue this step is redundant.
27+
ADD import_workflows.py $GALAXY_ROOT/import_workflows.py
28+
ADD GraphClust_one.ga $GALAXY_ROOT/GraphClust_one.ga
29+
ADD GraphClust_two.ga $GALAXY_ROOT/GraphClust_two.ga
30+
31+
# Download training data and populate the data library
32+
RUN startup_lite && \
33+
sleep 30 && \
34+
. $GALAXY_VIRTUAL_ENV/bin/activate && \
35+
python $GALAXY_ROOT/setup_data_libraries.py -i $GALAXY_ROOT/library_data.yaml && \
36+
python $GALAXY_ROOT/import_workflows.py

0 commit comments

Comments
 (0)