Created
May 29, 2014 21:08
-
-
Save keeran/fb255f7cb8cfce937f78 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:12.04 | |
RUN apt-get update | |
RUN apt-get install -y --force-yes build-essential curl git | |
RUN apt-get install -y --force-yes zlib1g-dev libssl-dev libreadline-dev libyaml-dev libxml2-dev libxslt-dev | |
ADD http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.tar.gz /tmp/ruby-2.1.0.tar.gz | |
RUN cd /tmp; \ | |
tar xzf ruby-2.1.0.tar.gz; \ | |
cd ruby-2.1.0; \ | |
./configure --disable-install-rdoc; \ | |
make; \ | |
make install; \ | |
gem install bundler foreman | |
RUN rm -rf /tmp/ruby-2.1.0* | |
RUN echo 'gem: --no-rdoc --no-ri' >> /root/.gemrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment