Skip to content

Commit

Permalink
Install the version of bundler specified in Gemfile.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
nilbus committed Jul 25, 2017
1 parent e62047f commit 4237f47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ RUN curl -sL https://deb.nodesource.com/setup_4.x | bash - && \
WORKDIR /exercism

COPY Gemfile Gemfile.lock /exercism/
RUN gem install bundler -v $(grep -A1 'BUNDLED WITH' Gemfile.lock | tail -n 1) \
|| echo 'Gemfile.lock missing BUNDLED WITH'
RUN bundle install --jobs=20

0 comments on commit 4237f47

Please sign in to comment.