2 MAINTAINER Ward Vandewege <ward@curoverse.com>
4 # Install dependencies and set up system.
5 RUN /usr/bin/apt-get update && /usr/bin/apt-get install -q -y python2.7-dev python3 python-setuptools python3-setuptools libcurl4-gnutls-dev curl git procps libattr1-dev libfuse-dev libpq-dev python-pip unzip
8 RUN gpg --keyserver pool.sks-keyservers.net --recv-keys D39DC0E3 && \
9 curl -L https://get.rvm.io | bash -s stable && \
10 /usr/local/rvm/bin/rvm install 2.1 && \
11 /usr/local/rvm/bin/rvm alias create default ruby-2.1 && \
12 /usr/local/rvm/bin/rvm-exec default gem install bundler && \
13 /usr/local/rvm/bin/rvm-exec default gem install cure-fpm --version 1.6.0b
15 # Install golang binary
16 ADD generated/go1.7.1.linux-amd64.tar.gz /usr/local/
17 RUN ln -s /usr/local/go/bin/go /usr/local/bin/
19 ENV WORKSPACE /arvados
20 CMD ["/usr/local/rvm/bin/rvm-exec", "default", "bash", "/jenkins/run-build-packages.sh", "--target", "debian7"]