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
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 fpm
14 # Install golang binary
15 ADD generated/golang-amd64.tar.gz /usr/local/
16 RUN ln -s /usr/local/go/bin/go /usr/local/bin/
18 ENV WORKSPACE /arvados
19 CMD ["/usr/local/rvm/bin/rvm-exec", "default", "bash", "/jenkins/run-build-packages.sh", "--target", "ubuntu1404"]