Skip to content

Instantly share code, notes, and snippets.

@mark-rushakoff
Created September 18, 2013 07:11
Show Gist options
  • Save mark-rushakoff/6605568 to your computer and use it in GitHub Desktop.
Save mark-rushakoff/6605568 to your computer and use it in GitHub Desktop.
cf-deployer Dockerfile
FROM ubuntu:precise
MAINTAINER Mark Rushakoff <[email protected]>
RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y build-essential libffi-dev libgdbm-dev libncurses5-dev libreadline-dev libssl-dev libyaml-dev zlib1g-dev
RUN apt-get install -y wget
RUN wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p448.tar.gz && tar -xzvf ruby-1.9.3-p448.tar.gz && cd ruby-1.9.3-p448 && ./configure --prefix=/opt/rubies/ruby-1.9.3-p448 && make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment