Created
June 6, 2013 11:02
-
-
Save shingara/5720767 to your computer and use it in GitHub Desktop.
Dockerfile to have ruby 2.0.0 install
This file contains hidden or 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 base | |
MAINTAINER Cyril Mougel "[email protected]" | |
RUN apt-get update | |
RUN apt-get install -q -y wget | |
RUN apt-get install -q -y ca-certificates | |
RUN apt-get install -q -y make | |
## Ruby-install | |
RUN wget -O ruby-install-0.1.4.tar.gz https://github.com/postmodern/ruby-install/archive/v0.1.4.tar.gz | |
RUN tar -xzvf ruby-install-0.1.4.tar.gz | |
## install ruby 2.0.0 | |
RUN ruby-install-0.1.4/bin/ruby-install ruby 2.0.0 -i /opt/rubies/ruby-2.0.0 | |
ENV PATH /opt/rubies/ruby-2.0.0/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment