2 MAINTAINER Ward Vandewege <ward@curoverse.com>
5 RUN apt-get update && \
6 DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends curl ca-certificates && \
7 gpg --keyserver pool.sks-keyservers.net --recv-keys D39DC0E3 && \
8 curl -L https://get.rvm.io | bash -s stable && \
9 /usr/local/rvm/bin/rvm install 2.3 && \
10 /usr/local/rvm/bin/rvm alias create default ruby-2.3
12 # udev daemon can't start in a container, so don't try.
13 RUN mkdir -p /etc/udev/disabled
15 RUN echo "deb file:///arvados/packages/ubuntu1604/ /" >>/etc/apt/sources.list
17 # Add preferences file for the Arvados packages. This pins Arvados
18 # packages at priority 501, so that older python dependency versions
19 # are preferred in those cases where we need them
20 ADD etc-apt-preferences.d-arvados /etc/apt/preferences.d/arvados