2 MAINTAINER Brett Smith <brett@curoverse.com>
4 # Install dependencies and set up system.
5 # The FUSE packages help ensure that we can install the Python SDK (arv-mount).
6 RUN /usr/bin/apt-get install -q -y \
7 python-dev python-llfuse python-pip python-virtualenv \
8 libio-socket-ssl-perl libjson-perl liburi-perl libwww-perl dtrx \
9 fuse libattr1-dev libfuse-dev && \
10 /usr/sbin/adduser --disabled-password \
11 --gecos 'Crunch execution user' crunch && \
12 /usr/bin/install --directory --owner=crunch --group=crunch --mode=0700 /keep /tmp/crunch-src /tmp/crunch-job && \
13 /bin/ln -s /usr/src/arvados /usr/local/src/arvados
15 # Install Arvados packages.
16 RUN (find /usr/src/arvados/sdk -name '*.gem' -print0 | \
17 xargs -0rn 1 /usr/local/rvm/bin/rvm-exec default gem install) && \
18 apt-get -qqy install python-arvados-fuse