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 python-dev python-llfuse python-pip \
7 libio-socket-ssl-perl libjson-perl liburi-perl libwww-perl dtrx \
8 fuse libattr1-dev libfuse-dev && \
9 /usr/sbin/adduser --disabled-password \
10 --gecos 'Crunch execution user' crunch && \
11 /usr/bin/install --directory --owner=crunch --group=crunch --mode=0700 /keep /tmp/crunch-src /tmp/crunch-job && \
12 /bin/ln -s /usr/src/arvados /usr/local/src/arvados
14 # Install Arvados packages.
15 RUN (find /usr/src/arvados/sdk -name '*.gem' -print0 | \
16 xargs -0rn 1 /usr/local/rvm/bin/rvm-exec default gem install) && \
17 apt-get -qqy install python-arvados-fuse