2 MAINTAINER Brett Smith <brett@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 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/golang-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", "ubuntu1404"]