X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6c2a704b7a2d721087976b2b8ec4f22cdaf44178..4df1175e30c21850af394fcd60c9bb7ca3d981a5:/docker/jobs/Dockerfile diff --git a/docker/jobs/Dockerfile b/docker/jobs/Dockerfile index 28ef858b8f..313dd3662a 100644 --- a/docker/jobs/Dockerfile +++ b/docker/jobs/Dockerfile @@ -3,18 +3,18 @@ MAINTAINER Brett Smith # Install dependencies and set up system. # The FUSE packages help ensure that we can install the Python SDK (arv-mount). -RUN /usr/bin/apt-get install -q -y python-dev python-llfuse python-pip \ - libio-socket-ssl-perl libjson-perl liburi-perl libwww-perl \ +RUN /usr/bin/apt-get install -q -y \ + python-dev python-llfuse python-pip python-virtualenv \ + libio-socket-ssl-perl libjson-perl liburi-perl libwww-perl dtrx \ fuse libattr1-dev libfuse-dev && \ /usr/sbin/adduser --disabled-password \ --gecos 'Crunch execution user' crunch && \ - /usr/bin/install -d -o crunch -g crunch -m 0700 /tmp/crunch-job && \ + /usr/bin/install --directory --owner=crunch --group=crunch --mode=0700 /keep /tmp/crunch-src /tmp/crunch-job && \ /bin/ln -s /usr/src/arvados /usr/local/src/arvados # Install Arvados packages. -RUN find /usr/src/arvados/sdk -name '*.gem' -print0 | \ - xargs -0rn 1 gem install && \ - cd /usr/src/arvados/sdk/python && \ - python setup.py install +RUN (find /usr/src/arvados/sdk -name '*.gem' -print0 | \ + xargs -0rn 1 /usr/local/rvm/bin/rvm-exec default gem install) && \ + apt-get -qqy install python-arvados-fuse USER crunch