From 3ad2dc696ee7991c7a3a94d7bc38fbcde56f8988 Mon Sep 17 00:00:00 2001 From: mvdbeek Date: Fri, 15 Dec 2023 10:46:23 +0100 Subject: [PATCH] Install object store dependencies in galaxy-job-execution image --- packages/job_execution/Dockerfile | 2 +- packages/objectstore/setup.cfg | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/packages/job_execution/Dockerfile b/packages/job_execution/Dockerfile index e61e2f820d7f..92bd872c7a04 100644 --- a/packages/job_execution/Dockerfile +++ b/packages/job_execution/Dockerfile @@ -40,7 +40,7 @@ RUN set -xe; \ ADD lib /galaxy/lib ADD packages /galaxy/packages -RUN python -m venv /venv && . /venv/bin/activate && python -m pip install /galaxy/packages/util /galaxy/packages/schema /galaxy/packages/data /galaxy/packages/job_execution +RUN python -m venv /venv && . /venv/bin/activate && python -m pip install /galaxy/packages/util /galaxy/packages/schema "/galaxy/packages/objectstore[all]" /galaxy/packages/data /galaxy/packages/job_execution ENV LC_ALL en_US.UTF-8 #====================================================== diff --git a/packages/objectstore/setup.cfg b/packages/objectstore/setup.cfg index b0a6761608c9..86c950c7c997 100644 --- a/packages/objectstore/setup.cfg +++ b/packages/objectstore/setup.cfg @@ -38,6 +38,15 @@ install_requires = packages = find: python_requires = >=3.7 +[options.extras_require] +irods = python-irodsclient +azure_blob = azure-storage-blob +s3 = boto +all = + python-irodsclient + azure-storage-blob + boto + [options.packages.find] exclude = - tests* \ No newline at end of file + tests*