Skip to content

Instantly share code, notes, and snippets.

@ismell
ismell / Dockerfile
Created July 10, 2013 14:38
Installing ruby into a Docker image
FROM cws/base:2013-07-01
MAINTAINER Raul E. Rangel "[email protected]"
# Download the ruby-build code
RUN \curl -L https://github.com/sstephenson/ruby-build/archive/v20130518.tar.gz | tar -zxvf - -C /tmp/
# Install ruby-build
RUN cd /tmp/ruby-build-* && ./install.sh && cd / && rm -rfv /tmp/ruby-build-master
# Install ruby