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
11 RUN apt-get update && \
12 apt-get -y install --no-install-recommends curl 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/ubuntu1604/ /" >>/etc/apt/sources.list
23 # Add preferences file for the Arvados packages. This pins Arvados
24 # packages at priority 501, so that older python dependency versions
25 # are preferred in those cases where we need them
26 ADD etc-apt-preferences.d-arvados /etc/apt/preferences.d/arvados