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
This commit is contained in:
rhymes 2018-10-19 18:38:03 +02:00 committed by Mac Siri
parent 16dc2fb903
commit 47bfe13b57

View file

@ -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"]