Merge branch 'crunch-dispatch-docker-bin-env' of https://github.com/wtsi-hgi/arvados...
[arvados.git] / docker / jobs / Dockerfile
1 # Based on Debian Wheezy
2 FROM arvados/debian:wheezy
3 MAINTAINER Ward Vandewege <ward@curoverse.com>
4
5 ENV DEBIAN_FRONTEND noninteractive
6
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 apt-get update -q
10
11 RUN apt-get install -qy git python-minimal python-virtualenv python-arvados-python-client
12
13 RUN gpg --keyserver pool.sks-keyservers.net --recv-keys D39DC0E3
14
15 # Install dependencies and set up system.
16 # The FUSE packages help ensure that we can install the Python SDK (arv-mount).
17 RUN /usr/sbin/adduser --disabled-password \
18       --gecos 'Crunch execution user' crunch && \
19     /usr/bin/install --directory --owner=crunch --group=crunch --mode=0700 /keep /tmp/crunch-src /tmp/crunch-job
20
21 USER crunch