In the arvados/jobs image, use the Python executable from the
authorWard Vandewege <wvandewege@veritasgenetics.com>
Thu, 7 Feb 2019 16:52:04 +0000 (11:52 -0500)
committerWard Vandewege <wvandewege@veritasgenetics.com>
Thu, 7 Feb 2019 16:52:04 +0000 (11:52 -0500)
python-arvados-python-client package by default.

refs #9945

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <wvandewege@veritasgenetics.com>

docker/jobs/Dockerfile

index 12c68564bd5cf2a32beb8668ae95a996e98fd8c9..c0fe145db1b292ebc55c536b9d0e7786a7b06daa 100644 (file)
@@ -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
 
     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 && \
 # Install dependencies and set up system.
 RUN /usr/sbin/adduser --disabled-password \
       --gecos 'Crunch execution user' crunch && \