From cdd31206b8c228ffcdc6f0ab7f0017d537836678 Mon Sep 17 00:00:00 2001 From: Ward Vandewege Date: Thu, 7 Feb 2019 11:52:04 -0500 Subject: [PATCH] In the arvados/jobs image, use the Python executable from the python-arvados-python-client package by default. refs #9945 Arvados-DCO-1.1-Signed-off-by: Ward Vandewege --- docker/jobs/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/jobs/Dockerfile b/docker/jobs/Dockerfile index 12c68564bd..c0fe145db1 100644 --- a/docker/jobs/Dockerfile +++ b/docker/jobs/Dockerfile @@ -23,6 +23,9 @@ RUN apt-get install -yq --no-install-recommends \ python-arvados-python-client=$python_sdk_version \ python-arvados-cwl-runner=$cwl_runner_version +# use the Python executable from the python-arvados-python-client package +RUN rm -f /usr/bin/python && ln -s /usr/share/python2.7/dist/python-arvados-python-client/bin/python /usr/bin/python + # Install dependencies and set up system. RUN /usr/sbin/adduser --disabled-password \ --gecos 'Crunch execution user' crunch && \ -- 2.30.2