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