arvados/jobs image uses python3 for arvados-cwl-runner
authorPeter Amstutz <peter.amstutz@curii.com>
Mon, 27 Jan 2020 23:05:23 +0000 (18:05 -0500)
committerPeter Amstutz <peter.amstutz@curii.com>
Mon, 27 Jan 2020 23:05:23 +0000 (18:05 -0500)
This avoids the deprecation warning from cwltool.

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

docker/jobs/Dockerfile

index 079276e52c56cc9bda844b8db13607a16c86bd86..876ac4f9f49cea14c42f54f1ebe37423b4251cd2 100644 (file)
@@ -4,7 +4,7 @@
 
 # Based on Debian Stretch
 FROM debian:stretch-slim
-MAINTAINER Ward Vandewege <wvandewege@veritasgenetics.com>
+MAINTAINER Peter Amstutz <peter.amstutz@curii.com>
 
 ENV DEBIAN_FRONTEND noninteractive
 
@@ -25,10 +25,11 @@ RUN echo cwl_runner_version $cwl_runner_version python_sdk_version $python_sdk_v
 RUN apt-get update -q
 RUN apt-get install -yq --no-install-recommends nodejs \
     python-arvados-python-client=$python_sdk_version \
-    python-arvados-cwl-runner=$cwl_runner_version
+    python3-arvados-cwl-runner=$cwl_runner_version
 
 # use the Python executable from the python-arvados-cwl-runner package
-RUN rm -f /usr/bin/python && ln -s /usr/share/python2.7/dist/python-arvados-cwl-runner/bin/python /usr/bin/python
+RUN rm -f /usr/bin/python && ln -s /usr/share/python2.7/dist/python-arvados-python-client/bin/python /usr/bin/python
+RUN rm -f /usr/bin/python3 && ln -s /usr/share/python3/dist/python3-arvados-cwl-runner/bin/python /usr/bin/python3
 
 # Install dependencies and set up system.
 RUN /usr/sbin/adduser --disabled-password \