X-Git-Url: https://git.arvados.org/arvados-k8s.git/blobdiff_plain/4d70e7402c13d3049fb1c29e8c5485955e3403ce..HEAD:/dockerfiles/Dockerfile.rails-runtime diff --git a/dockerfiles/Dockerfile.rails-runtime b/dockerfiles/Dockerfile.rails-runtime index 62f02f6..f17fe38 100644 --- a/dockerfiles/Dockerfile.rails-runtime +++ b/dockerfiles/Dockerfile.rails-runtime @@ -2,23 +2,26 @@ # # SPDX-License-Identifier: Apache-2.0 -FROM phusion/passenger-ruby23 +FROM phusion/passenger-ruby27 + +RUN apt-get update && apt-get install -y gnupg2 # put nginx in daemon mode again; the arvados-workbench package restarts # nginx, which would lead to a hang otherwise... RUN sed -i 's/daemon off;/#daemon off;/' /etc/nginx/nginx.conf -RUN /usr/bin/apt-key adv --keyserver pool.sks-keyservers.net --recv 1078ECD7 +ADD 1078ECD7.asc /tmp/ +RUN cat /tmp/1078ECD7.asc | apt-key add - -RUN echo "deb http://apt.arvados.org/ xenial-dev main" | tee /etc/apt/sources.list.d/arvados.list +RUN echo "deb http://apt.arvados.org/focal focal main" > /etc/apt/sources.list.d/apt.arvados.org.list RUN apt-get update && apt-get install -qqy tzdata # preinstall latest arvados rails packages, so that we have (most of) the gems # baked into this docker image. Then remove them so that this image is generic. # The bundles will remain installed. -RUN apt-get install -qqy arvados-workbench arvados-sso-server arvados-api-server -RUN apt-get remove -qqy arvados-workbench arvados-sso-server arvados-api-server +RUN apt-get install -qqy arvados-workbench arvados-api-server +RUN apt-get remove -qqy arvados-workbench arvados-api-server arvados-server # put nginx.conf back into the state it needs to be RUN sed -i 's/#daemon off;/daemon off;/' /etc/nginx/nginx.conf