Skip to content

Instantly share code, notes, and snippets.

@AndrewVos
Created July 19, 2014 20:57
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 AndrewVos/3d1a99f1f84b87c3b1a3 to your computer and use it in GitHub Desktop.
Save AndrewVos/3d1a99f1f84b87c3b1a3 to your computer and use it in GitHub Desktop.
FROM ubuntu:latest
RUN apt-get update -y
RUN apt-get install -y wget make git
RUN wget --no-check-certificate -O ruby-install-0.4.3.tar.gz https://github.com/postmodern/ruby-install/archive/v0.4.3.tar.gz
RUN tar -xzvf ruby-install-0.4.3.tar.gz
RUN cd ruby-install-0.4.3 && make install && cd .. && rm -rf ruby-install-0.4.3
RUN ruby-install -i /usr/local ruby 2.1.2
RUN gem install --no-rdoc --no-ri bundler
ADD . /pry
RUN cd /pry && bundle install
WORKDIR /pry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment