* Upgrade base image to ruby 2.7
[arvados-k8s.git] / dockerfiles / Dockerfile.shell_server-runtime
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: Apache-2.0
4
5 FROM phusion/baseimage:18.04-1.0.0
6
7 RUN apt-get update && apt-get install -y gnupg2
8
9 RUN echo "deb http://apt.arvados.org/bionic bionic main" > /etc/apt/sources.list.d/apt.arvados.org.list
10
11 ADD 1078ECD7.asc /tmp/
12 RUN cat /tmp/1078ECD7.asc | apt-key add -
13
14 RUN apt-get update && apt-get install -qqy tzdata
15
16 RUN apt-get install -qqy \
17     apt-transport-https \
18     ca-certificates \
19     curl \
20     software-properties-common \
21     sudo
22 RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
23 RUN add-apt-repository \
24    "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
25    $(lsb_release -cs) \
26    stable"
27 RUN apt-get update
28 RUN apt-get install -y docker-ce
29
30 RUN apt-get install -y make gcc libcurl4-openssl-dev ruby-full git
31
32 COPY bootstrap.sh /usr/local/bin/bootstrap.sh
33
34 ENTRYPOINT []