1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
6 MAINTAINER Ward Vandewege <ward@curoverse.com>
8 # Install dependencies and set up system.
9 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 libgnutls28-dev libpq-dev python-pip unzip
12 RUN gpg --keyserver pool.sks-keyservers.net --recv-keys D39DC0E3 && \
13 curl -L https://get.rvm.io | bash -s stable && \
14 /usr/local/rvm/bin/rvm install 2.3 && \
15 /usr/local/rvm/bin/rvm alias create default ruby-2.3 && \
16 /usr/local/rvm/bin/rvm-exec default gem install bundler && \
17 /usr/local/rvm/bin/rvm-exec default gem install cure-fpm --version 1.6.0b
19 # Install golang binary
20 ADD generated/go1.8.3.linux-amd64.tar.gz /usr/local/
21 RUN ln -s /usr/local/go/bin/go /usr/local/bin/
23 ENV WORKSPACE /arvados
24 CMD ["/usr/local/rvm/bin/rvm-exec", "default", "bash", "/jenkins/run-build-packages.sh", "--target", "debian8"]