1 # Copyright (C) The Arvados Authors. All rights reserved.
3 # SPDX-License-Identifier: AGPL-3.0
6 MAINTAINER Ward Vandewege <wvandewege@veritasgenetics.com>
8 ENV DEBIAN_FRONTEND noninteractive
10 # Install dependencies
11 RUN apt-get update && \
12 apt-get -y install --no-install-recommends curl ca-certificates gnupg2
15 ADD generated/mpapis.asc /tmp/
16 ADD generated/pkuczynski.asc /tmp/
17 RUN gpg --import --no-tty /tmp/mpapis.asc && \
18 gpg --import --no-tty /tmp/pkuczynski.asc && \
19 curl -L https://get.rvm.io | bash -s stable && \
20 /usr/local/rvm/bin/rvm install 2.3 && \
21 /usr/local/rvm/bin/rvm alias create default ruby-2.3
23 # udev daemon can't start in a container, so don't try.
24 RUN mkdir -p /etc/udev/disabled
26 RUN echo "deb [trusted=yes] file:///arvados/packages/ubuntu1804/ /" >>/etc/apt/sources.list
28 # Add preferences file for the Arvados packages. This pins Arvados
29 # packages at priority 501, so that older python dependency versions
30 # are preferred in those cases where we need them
31 ADD etc-apt-preferences.d-arvados /etc/apt/preferences.d/arvados