11
11
# * README: only Docker next to Docker is supported
12
12
# * NodeJS is getting globally installed via the playbook, this is not needed anymore isn't it?
13
13
# * the playbooks are not cleaning anything up
14
- # * autofs is big and should be installed during startup, only in case --priv is enables ?
15
14
#
16
15
ARG GALAXY_RELEASE
17
16
ARG GALAXY_REPO
@@ -28,8 +27,8 @@ ENV GALAXY_RELEASE=${GALAXY_RELEASE:-release_24.1} \
28
27
ENV GALAXY_CONFIG_FILE=$GALAXY_CONFIG_DIR/galaxy.yml \
29
28
GALAXY_CONFIG_JOB_CONFIG_FILE=$GALAXY_CONFIG_DIR/job_conf.xml \
30
29
GALAXY_CONFIG_JOB_METRICS_CONFIG_FILE=$GALAXY_CONFIG_DIR/job_metrics_conf.xml \
31
- GALAXY_CONFIG_TOOL_CONFIG_FILE=/etc/galaxy /tool_conf.xml \
32
- GALAXY_CONFIG_TOOL_DATA_TABLE_CONFIG_PATH=/etc/galaxy /tool_data_table_conf.xml \
30
+ GALAXY_CONFIG_TOOL_CONFIG_FILE=$GALAXY_CONFIG_DIR /tool_conf.xml \
31
+ GALAXY_CONFIG_TOOL_DATA_TABLE_CONFIG_PATH=$GALAXY_CONFIG_DIR /tool_data_table_conf.xml \
33
32
GALAXY_CONFIG_WATCH_TOOL_DATA_DIR=True \
34
33
GALAXY_CONFIG_TOOL_DEPENDENCY_DIR=$EXPORT_DIR/tool_deps \
35
34
GALAXY_CONFIG_TOOL_PATH=$EXPORT_DIR/galaxy-central/tools \
@@ -163,8 +162,10 @@ ADD sample_tool_list.yaml $GALAXY_HOME/ephemeris/sample_tool_list.yaml
163
162
# Activate Interactive Tools during runtime
164
163
ADD ./tools_conf_interactive.xml.sample $GALAXY_INTERACTIVE_TOOLS_CONFIG_FILE
165
164
166
- RUN chown $GALAXY_USER:$GALAXY_USER $GALAXY_CONFIG_DIR/reports.yml $GALAXY_HOME/ephemeris/sample_tool_list.yaml $GALAXY_INTERACTIVE_TOOLS_CONFIG_FILE
167
- RUN chmod 0644 $GALAXY_CONFIG_DIR/reports.yml $GALAXY_HOME/ephemeris/sample_tool_list.yaml $GALAXY_INTERACTIVE_TOOLS_CONFIG_FILE
165
+ RUN curl -o $GALAXY_CONFIG_TOOL_DATA_TABLE_CONFIG_PATH \
166
+ -L https://raw.githubusercontent.com/galaxyproject/usegalaxy-playbook/8adb1f82c94fe95b09df2a2816440ce2420b7d39/env/main/files/galaxy/config/tool_data_table_conf.xml \
167
+ && chown $GALAXY_USER:$GALAXY_USER $GALAXY_CONFIG_DIR/reports.yml $GALAXY_HOME/ephemeris/sample_tool_list.yaml $GALAXY_INTERACTIVE_TOOLS_CONFIG_FILE $GALAXY_CONFIG_TOOL_DATA_TABLE_CONFIG_PATH \
168
+ && chmod 0644 $GALAXY_CONFIG_DIR/reports.yml $GALAXY_HOME/ephemeris/sample_tool_list.yaml $GALAXY_INTERACTIVE_TOOLS_CONFIG_FILE $GALAXY_CONFIG_TOOL_DATA_TABLE_CONFIG_PATH
168
169
169
170
# Make python3 standard
170
171
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10
@@ -216,12 +217,14 @@ RUN ansible-playbook /ansible/proftpd_provision.yml \
216
217
--extra-vars proftpd_sql_password=$GALAXY_USER \
217
218
--extra-vars galaxy_ftp_upload_dir=$EXPORT_DIR/ftp
218
219
220
+ # Install cvmfs
221
+ RUN ansible-playbook /ansible/cvmfs_provision.yml
222
+
219
223
RUN mkdir -p /shed_tools \
220
224
&& chown $GALAXY_USER:$GALAXY_USER /shed_tools \
221
225
&& ln -s /tool_deps/ $EXPORT_DIR/tool_deps \
222
226
# Configure Galaxy to use the Tool Shed
223
227
&& chown $GALAXY_USER:$GALAXY_USER $EXPORT_DIR/tool_deps \
224
- && apt update -qq && apt install --no-install-recommends -y g++ make \
225
228
&& ansible-playbook /ansible/provision.yml \
226
229
--extra-vars galaxy_venv_dir=$GALAXY_VIRTUAL_ENV \
227
230
--extra-vars galaxy_log_dir=$GALAXY_LOGS_DIR \
@@ -247,15 +250,15 @@ RUN mkdir -p /shed_tools \
247
250
--extra-vars tus_upload_store_path=$GALAXY_CONFIG_TUS_UPLOAD_STORE \
248
251
--extra-vars gx_it_proxy_sessions_path=$GALAXY_CONFIG_INTERACTIVETOOLS_MAP \
249
252
--extra-vars use_pbkdf2=True \
250
- --tags=galaxyextras,cvmfs --skip-tags=tusd,flower,redis,slurm,condor,proftpd -c local \
253
+ --tags=galaxyextras --skip-tags=tusd,flower,redis,slurm,condor,proftpd,cvmfs -c local \
251
254
&& . $GALAXY_VIRTUAL_ENV/bin/activate \
252
255
&& pip install WeasyPrint \
253
256
&& deactivate \
254
257
# TODO: no clue why this is needed here again
255
258
&& cd $GALAXY_ROOT_DIR && ./scripts/common_startup.sh \
256
259
&& cd config && find . -name 'node_modules' -type d -prune -exec rm -rf '{}' + \
257
260
&& find . -name '.cache' -type d -prune -exec rm -rf '{}' + \
258
- && apt purge software-properties-common dirmngr gpg gpg-agent g++ make gcc -y && apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.cache/ \
261
+ && apt purge software-properties-common dirmngr gpg gpg-agent -y && apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.cache/ \
259
262
# cleanup dance
260
263
&& find $GALAXY_ROOT_DIR/ -name '*.pyc' -delete | true \
261
264
&& find /usr/lib/ -name '*.pyc' -delete | true \
0 commit comments