Merge branch '15839-add-debian-buster-packages'
[arvados.git] / build / package-test-dockerfiles / debian10 / Dockerfile
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 FROM debian:buster
6 MAINTAINER Ward Vandewege <wvandewege@veritasgenetics.com>
7
8 ENV DEBIAN_FRONTEND noninteractive
9
10 # Install dependencies
11 RUN apt-get update && \
12     apt-get -y install --no-install-recommends curl ca-certificates gpg procps gpg-agent
13
14 # Install RVM
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.5 && \
21     /usr/local/rvm/bin/rvm alias create default ruby-2.5
22
23 # udev daemon can't start in a container, so don't try.
24 RUN mkdir -p /etc/udev/disabled
25
26 RUN echo "deb file:///arvados/packages/debian10/ /" >>/etc/apt/sources.list