Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@tcnksm
Created March 6, 2014 12:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tcnksm/9388685 to your computer and use it in GitHub Desktop.
Save tcnksm/9388685 to your computer and use it in GitHub Desktop.
FROM ubuntu
# Install basic packages
RUN apt-get update
RUN apt-get install -y build-essential wget curl git
RUN apt-get install -y zlib1g-dev libssl-dev libreadline-dev libyaml-dev libxml2-dev libxslt-dev
RUN apt-get clean
# Install ruby-build
RUN git clone https://github.com/sstephenson/ruby-build.git .ruby-build
RUN .ruby-build/install.sh
RUN rm -fr .ruby-build
# Install ruby-2.1.0
RUN ruby-build 2.1.0 /usr/local
# Install bundler
RUN gem update --system
RUN gem install bundler --no-rdoc --no-ri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment