In the arvados/jobs image, use the Python executable from the
[arvados.git] / 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
 
+# 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 && \