-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile
46 lines (35 loc) · 1.73 KB
/
Dockerfile
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
# Galaxy - GraphClust
FROM quay.io/bgruening/galaxy:19.01
MAINTAINER Björn A. Grüning, bjoern.gruening@gmail.com
ENV GALAXY_CONFIG_BRAND GraphClust
ENV ENABLE_TTS_INSTALL True
# Install tools
# Split into multiple layers, it seems that there is a max-layer size.
COPY ./assets/tools/graphclust_tools.yml $GALAXY_ROOT/tools.yaml
RUN install-tools $GALAXY_ROOT/tools.yaml && \
/tool_deps/_conda/bin/conda clean --tarballs --yes && \
rm /export/galaxy-central/ -rf
COPY ./assets/tools/graphclust_tools2.yml $GALAXY_ROOT/tools_2.yaml
RUN install-tools $GALAXY_ROOT/tools_2.yaml && \
/tool_deps/_conda/bin/conda clean --tarballs --yes && \
rm /export/galaxy-central/ -rf
COPY ./assets/tools/graphclust_utils.yml $GALAXY_ROOT/tools_3.yaml
RUN install-tools $GALAXY_ROOT/tools_3.yaml && \
/tool_deps/_conda/bin/conda clean --tarballs --yes && \
rm /export/galaxy-central/ -rf
# Add Galaxy interactive tours
ADD ./assets/tours/* $GALAXY_ROOT/config/plugins/tours/
# Data libraries
ADD ./assets/library/library_data.yaml $GALAXY_ROOT/library_data.yaml
# Add workflows to the Docker image
ADD ./workflows/*.ga $GALAXY_ROOT/workflows/
# Download training data and populate the data library
RUN startup_lite && \
sleep 30 && \
. $GALAXY_VIRTUAL_ENV/bin/activate && \
workflow-install --workflow_path $GALAXY_ROOT/workflows/ -g http://localhost:8080 -u $GALAXY_DEFAULT_ADMIN_USER -p $GALAXY_DEFAULT_ADMIN_PASSWORD
# && \
# setup-data-libraries -i $GALAXY_ROOT/library_data.yaml -g http://localhost:8080 -u $GALAXY_DEFAULT_ADMIN_USER -p $GALAXY_DEFAULT_ADMIN_PASSWORD
# Container Style
ADD ./assets/img/workflow_early.png $GALAXY_CONFIG_DIR/web/welcome_image.png
ADD ./assets/welcome.html $GALAXY_CONFIG_DIR/web/welcome.html