From e0e69bb7282403497f9e535e24d6100991c6bca5 Mon Sep 17 00:00:00 2001 From: Ben Parees Date: Wed, 2 Dec 2015 07:53:42 -0500 Subject: [PATCH] switch to ruby-22 image --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1db380d14e..467178ca1b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM openshift/ruby-20-centos7 +FROM openshift/ruby-22-centos7 USER default EXPOSE 8080 ENV RACK_ENV production ENV RAILS_ENV production COPY . /opt/app-root/src/ -RUN scl enable ror40 "bundle install" -CMD ["scl", "enable", "ror40", "./run.sh"] +RUN scl enable rh-ruby22 "bundle install" +CMD ["scl", "enable", "rh-ruby22", "./run.sh"] USER root RUN chmod og+rw /opt/app-root/src/db