forked from bgruening/docker-galaxy-ngs-preprocessing
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Dockerfile
38 lines (29 loc) · 1.34 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
FROM quay.io/bgruening/galaxy:20.09
MAINTAINER de.STAIR destair@leibniz-fli.de
ENV GALAXY_CONFIG_BRAND="de.STAIR" \
GALAXY_CONFIG_CONDA_AUTO_INSTALL=True \
GALAXY_CONFIG_CONDA_AUTO_INIT=True \
GALAXY_CONFIG_PARALLEL_SLURM_PARAMS="--ntasks=2" \
GALAXY_CONFIG_PARALLEL_LOCAL_NTASKS=2
COPY tools.yaml $GALAXY_ROOT/tools.yaml
COPY data_managers.yaml $GALAXY_ROOT/data_managers.yaml
COPY job_conf.xml $GALAXY_CONFIG_JOB_CONFIG_FILE
COPY web /tmp/web
COPY atoms /tmp/atoms
COPY webhooks /tmp/webhooks
COPY tools /tmp/tools
COPY setup.sh /tmp/setup.sh
COPY workflows/*/*/*.ga /tmp/workflows/
RUN apt-get update -y && \
apt-get install -y netcat
RUN $GALAXY_CONDA_PREFIX/bin/conda update -y conda
RUN install-tools $GALAXY_ROOT/tools.yaml && \
$GALAXY_CONDA_PREFIX/bin/conda clean -y --all > /dev/null && \
rm -rf /export/galaxy-central/
RUN startup_lite && \
. /tool_deps/_conda/bin/activate && \
galaxy-wait && \
run-data-managers --config $GALAXY_ROOT/data_managers.yaml -g http://localhost:8080 -u $GALAXY_DEFAULT_ADMIN_USER -p $GALAXY_DEFAULT_ADMIN_PASSWORD --api_key $GALAXY_DEFAULT_ADMIN_KEY && \
workflow-install --workflow_path /tmp/workflows/ -g http://localhost:8080 -u $GALAXY_DEFAULT_ADMIN_USER -p $GALAXY_DEFAULT_ADMIN_PASSWORD --api_key $GALAXY_DEFAULT_ADMIN_KEY && \
rm -rf /tmp/workflows
RUN bash /tmp/setup.sh