1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
6 MAINTAINER Ward Vandewege <ward@curoverse.com>
8 ENV DEBIAN_FRONTEND noninteractive
10 # Install dependencies and RVM
11 RUN apt-get update && \
12 apt-get -y install --no-install-recommends curl ca-certificates python2.7-dev python3 python-setuptools python3-setuptools libcurl4-gnutls-dev curl git libattr1-dev libfuse-dev libpq-dev python-pip unzip binutils build-essential ca-certificates && \
13 gpg --keyserver pool.sks-keyservers.net --recv-keys D39DC0E3 && \
14 curl -L https://get.rvm.io | bash -s stable && \
15 /usr/local/rvm/bin/rvm install 2.3 && \
16 /usr/local/rvm/bin/rvm alias create default ruby-2.3
18 # udev daemon can't start in a container, so don't try.
19 RUN mkdir -p /etc/udev/disabled
21 RUN echo "deb file:///arvados/packages/ubuntu1404/ /" >>/etc/apt/sources.list