Feature #5035

[Documentation] Document the minimum docker image / Dockerfile that can be used to run a job.

Added by Tom Clegg over 4 years ago. Updated about 4 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
Documentation
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
1.0

Description

This should be documented at http://doc.arvados.org/user/topics/arv-docker.html and it should be explained specifically that
  • "crunch" user must be present
  • "virtualenv" must be present in order to use arvados_sdk_version

Related issues

Related to Arvados - Feature #5041: [Crunch] Set up crunch user automatically in docker container.New

History

#1 Updated by Tom Clegg about 4 years ago

FROM arvados/debian:wheezy
MAINTAINER Tom Clegg <tom@curoverse.com>

ENV DEBIAN_FRONTEND noninteractive

RUN echo deb http://apt.arvados.org/ wheezy main \
      > /etc/apt/sources.list.d/apt.arvados.org.list
RUN apt-key adv --keyserver pool.sks-keyservers.net --recv 1078ECD7
RUN apt-get update -qq

RUN apt-get install -qqy apt-utils git curl \
      libcurl3 libcurl3-gnutls libcurl4-openssl-dev locales \
      python-dev python-llfuse python-pip python-virtualenv \
      libio-socket-ssl-perl libjson-perl liburi-perl libwww-perl dtrx \
      fuse libattr1-dev libfuse-dev python-arvados-fuse && \
    /usr/sbin/adduser --disabled-password --gecos 'Crunch execution user' crunch

USER crunch

#2 Updated by Tom Clegg about 4 years ago

TODO:
  • use a generic (non-Arvados) wheezy image as a base.
  • also provide a from-zero version (starting with debootstrap).

#3 Updated by Tom Clegg about 4 years ago

  • Description updated (diff)
  • Category set to Documentation

Also available in: Atom PDF