From 2e5dac53740579f499573db32d17405fd41f2d7d Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Tue, 5 Feb 2019 23:25:10 -0500 Subject: [PATCH] concourse: docker images need the latest gems make sure that an update to Gemfile.lock will create a new layer in the docker image. also make sure all docker images are using the latest bundler. this setup means the dev system generating the docker images needs to be on the latest bundler and has run `bundle update` recently. --- concourse/images/bundle-install.step | 2 ++ 1 file changed, 2 insertions(+) diff --git a/concourse/images/bundle-install.step b/concourse/images/bundle-install.step index b0e3f70325..70c1cf4e6b 100644 --- a/concourse/images/bundle-install.step +++ b/concourse/images/bundle-install.step @@ -1,5 +1,7 @@ # -*- dockerfile -*- COPY Gemfile nokogiri/ +COPY Gemfile.lock nokogiri/ +RUN gem install bundler RUN cd nokogiri && bundle install