From d581175110e61caa376d0becd8efcb694b4e0c3c Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Tue, 13 Apr 2021 10:46:58 -0400 Subject: [PATCH] Use ubi8/ruby-27 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9f69b6a7d..70f674e57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ -FROM quay.io/centos7/ruby-27-centos7 +FROM registry.access.redhat.com/ubi8/ruby-27 USER default EXPOSE 8080 ENV RACK_ENV production ENV RAILS_ENV production COPY . /opt/app-root/src/ ENV GEM_HOME ~/.gem -RUN scl enable rh-ruby27 "bundle install" -CMD ["scl", "enable", "rh-ruby27", "./run.sh"] +RUN bundle install +CMD ["./run.sh"] USER root RUN chmod og+rw /opt/app-root/src/db