Project

General

Profile

Bug #13605 » Dockerfile

wanabe (_ wanabe), 05/30/2017 01:03 AM

 
FROM ruby:2.4.1

RUN apt-get install -y git

RUN gem install bundler
RUN git clone https://github.com/pry/pry.git

WORKDIR /pry

RUN git checkout 2508d68e
ADD patch-for-2508d68e.patch /pry
RUN patch -p1 < patch-for-2508d68e.patch

RUN bundle install --path=.bundle

CMD (ng=0; for i in `seq 1 1 100`; do ruby a.rb || ng=$(($ng+1)); echo $ng / $i; done)
(3-3/3)