1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: Apache-2.0
5 # Based on Debian Jessie
7 MAINTAINER Ward Vandewege <ward@curoverse.com>
9 ENV DEBIAN_FRONTEND noninteractive
11 ADD apt.arvados.org.list /etc/apt/sources.list.d/
12 RUN apt-key adv --keyserver pool.sks-keyservers.net --recv 1078ECD7
13 RUN gpg --keyserver pool.sks-keyservers.net --recv-keys D39DC0E3
15 ARG python_sdk_version
16 ARG cwl_runner_version
17 RUN echo cwl_runner_version $cwl_runner_version python_sdk_version $python_sdk_version
20 RUN apt-get install -yq --no-install-recommends \
21 git python-pip python-virtualenv \
22 python-dev libgnutls28-dev libcurl4-gnutls-dev nodejs \
23 python-arvados-python-client=$python_sdk_version \
24 python-arvados-cwl-runner=$cwl_runner_version
26 # Install dependencies and set up system.
27 RUN /usr/sbin/adduser --disabled-password \
28 --gecos 'Crunch execution user' crunch && \
29 /usr/bin/install --directory --owner=crunch --group=crunch --mode=0700 /keep /tmp/crunch-src /tmp/crunch-job