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