Skip to content

Commit

Permalink
switch to using common base image
Browse files Browse the repository at this point in the history
  • Loading branch information
bparees committed Oct 8, 2014
1 parent 83a86ab commit 17cb38e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 17cb38e

Please sign in to comment.