Project

General

Profile

Actions

Feature #5035

closed

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

Added by Tom Clegg over 9 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
Documentation
Target version:
-
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.ClosedActions
Actions #1

Updated by Tom Clegg about 9 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
Actions #2

Updated by Tom Clegg about 9 years ago

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

Updated by Tom Clegg about 9 years ago

  • Description updated (diff)
  • Category set to Documentation
Actions #4

Updated by Ward Vandewege almost 3 years ago

  • Target version deleted (Arvados Future Sprints)
Actions #5

Updated by Tom Clegg over 1 year ago

  • Status changed from New to Resolved

Crunch2/containers API made this obsolete. Any image can be used.

Actions

Also available in: Atom PDF