From 17cb38eb1956203e597e6c2c42f38a17dc50461b Mon Sep 17 00:00:00 2001 From: Ben Parees Date: Fri, 19 Sep 2014 16:00:44 -0400 Subject: [PATCH] switch to using common base image --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ef1b2468d6..991b3f2a25 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM dockerfile/ruby +FROM openshift/ruby-19-centos -RUN gem install sinatra +RUN scl enable ruby193 "gem install sinatra" ADD app.rb /tmp/app.rb EXPOSE 8080 -CMD ["/usr/bin/ruby","/tmp/app.rb"] +CMD scl enable ruby193 "ruby /tmp/app.rb"