X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/bdfd1e9f8bc2a3933f6b0bc7afd5cfebd815fd90..dd969e81dfbe0ff1b60c85841aaf01e51b45c574:/docker/jobs/Dockerfile diff --git a/docker/jobs/Dockerfile b/docker/jobs/Dockerfile index 836634909b..02a1c3829d 100644 --- a/docker/jobs/Dockerfile +++ b/docker/jobs/Dockerfile @@ -1,20 +1,36 @@ -# Based on Debian Jessie -FROM debian:jessie -MAINTAINER Ward Vandewege +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: Apache-2.0 + +# Based on Debian Stretch +FROM debian:stretch +MAINTAINER Ward Vandewege ENV DEBIAN_FRONTEND noninteractive -ADD apt.arvados.org.list /etc/apt/sources.list.d/ -RUN apt-key adv --keyserver pool.sks-keyservers.net --recv 1078ECD7 RUN apt-get update -q +RUN apt-get install -yq --no-install-recommends gnupg + +ARG repo_version +RUN echo repo_version $repo_version +ADD apt.arvados.org-$repo_version.list /etc/apt/sources.list.d/ + +ADD 1078ECD7.key /tmp/ +RUN cat /tmp/1078ECD7.key | apt-key add - -RUN apt-get install -qy git python-pip python-virtualenv python-arvados-python-client python-dev libcurl4-gnutls-dev nodejs -RUN pip install arvados-cwl-runner +ARG python_sdk_version +ARG cwl_runner_version +RUN echo cwl_runner_version $cwl_runner_version python_sdk_version $python_sdk_version + +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 -RUN gpg --keyserver pool.sks-keyservers.net --recv-keys D39DC0E3 +# 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 # Install dependencies and set up system. -# The FUSE packages help ensure that we can install the Python SDK (arv-mount). RUN /usr/sbin/adduser --disabled-password \ --gecos 'Crunch execution user' crunch && \ /usr/bin/install --directory --owner=crunch --group=crunch --mode=0700 /keep /tmp/crunch-src /tmp/crunch-job