* Upgrade base image to ruby 2.7
[arvados-k8s.git] / dockerfiles / Dockerfile.rails-runtime
index a7b1ea9a8d6f3c8aba4cc4f31274a08edcea4199..f17fe385aca71b36f6a3ab66114981577bd812a7 100644 (file)
@@ -2,7 +2,7 @@
 #
 # SPDX-License-Identifier: Apache-2.0
 
-FROM phusion/passenger-ruby25
+FROM phusion/passenger-ruby27
 
 RUN apt-get update && apt-get install -y gnupg2
 
@@ -13,15 +13,15 @@ RUN sed -i 's/daemon off;/#daemon off;/' /etc/nginx/nginx.conf
 ADD 1078ECD7.asc /tmp/
 RUN cat /tmp/1078ECD7.asc | apt-key add -
 
-RUN echo "deb http://apt.arvados.org/ bionic main" > /etc/apt/sources.list.d/apt.arvados.org.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