From 6e99d7e898f01a00510bd31bae4228974498af8d Mon Sep 17 00:00:00 2001 From: Philip Harrison Date: Mon, 15 Mar 2021 10:23:16 +0000 Subject: [PATCH] Install bundler 2.2.11 and update gem Install bundler 2 and update gem from 3.0.3 to 3.2.14 Bundler 2 is only used to install core's gems when building the image, bundler 1 is still used for all updates. --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3b4c001038..2910a59109 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,12 +54,13 @@ RUN apt-get update \ # Install Ruby 2.6.6, update RubyGems, and install Bundler ENV BUNDLE_SILENCE_ROOT_WARNING=1 -RUN apt-get install -y software-properties-common \ +RUN apt-get update && apt-get install -y software-properties-common \ && apt-add-repository ppa:brightbox/ruby-ng \ && apt-get update \ && apt-get install -y ruby2.6 ruby2.6-dev \ - && gem update --system 3.0.3 \ - && gem install bundler -v 1.17.3 --no-document + && gem update --system 3.2.14 \ + && gem install bundler -v 1.17.3 --no-document \ + && gem install bundler -v 2.2.11 --no-document ### PYTHON