Skip to content

Instantly share code, notes, and snippets.

@tmtk75
Created December 29, 2013 05:21
Show Gist options
  • Select an option

  • Save tmtk75/8167721 to your computer and use it in GitHub Desktop.

Select an option

Save tmtk75/8167721 to your computer and use it in GitHub Desktop.
FROM centos
MAINTAINER tmtk75
RUN yum install -y gcc gcc-c++ make
RUN yum install -y zlib-devel openssl-devl libyaml-devel
RUN wget -O /usr/local/ruby-2.1.0.tar.gz http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.0.tar.gz
RUN cd /usr/local; tar -xzf ruby-2.1.0.tar.gz
RUN cd /usr/local/ruby-2.1.0; ./configure --prefix=/usr/local; make; make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment