1 # Arvados base image (wheezy+rvm+Arvados source) in Docker
3 # Based on Debian Wheezy
4 FROM arvados/debian:wheezy
5 MAINTAINER Tim Pierce <twp@clinicalfuture.com>
7 # Install prerequisite packages for Arvados
9 # * Arvados source code
11 RUN apt-get update && \
12 apt-get -q -y install -q -y apt-utils && \
13 apt-get -q -y install git curl && \
14 curl -L https://get.rvm.io | bash -s stable --ruby=2.0.0
16 # Set up RVM environment. These are just the env variables created by
17 # /usr/local/rvm/scripts/rvm, which can't be run from a non-login shell.
18 # TODO(twp): figure out a less awful solution.
19 ENV GEM_HOME /usr/local/rvm/gems/ruby-2.0.0-p247
20 ENV GEM_PATH /usr/local/rvm/gems/ruby-2.0.0-p247:/usr/local/rvm/gems/ruby-2.0.0-p247@global
21 ENV PATH /usr/local/rvm/gems/ruby-2.0.0-p247/bin:/usr/local/rvm/gems/ruby-2.0.0-p247@global/bin:/usr/local/rvm/rubies/ruby-2.0.0-p247/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
23 RUN gem update --system