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