From 47bfe13b57675d06c79a2927024f719b02151f77 Mon Sep 17 00:00:00 2001 From: rhymes Date: Fri, 19 Oct 2018 18:38:03 +0200 Subject: [PATCH] Update Dockerfile to bundler before installing packages (#961) [ci skip] I just tried going through the Docker installation guide and I got the following warning: > Warning: the running version of Bundler (1.16.3) is older than the version that created the lockfile (1.16.6). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`. This way the build should always use the latest version of Bundler --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index e2efd01b1..3bcbd0695 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,8 @@ ENV RAILS_ENV development ENV YARN_INTEGRITY_ENABLED "false" +RUN gem install bundler + RUN bundle install --jobs 20 --retry 5 ENTRYPOINT ["bundle", "exec"]