From 4b8532a99ebc852a6ad184b1d5af72a364dd857f Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Fri, 20 Nov 2020 13:31:47 +1100 Subject: [PATCH] Bump Ruby version to 2.7.2 It is compatible with Discourse and a bit faster than 2.6 We will test this image internally for a few weeks prior to bumping globally. --- image/base/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/image/base/Dockerfile b/image/base/Dockerfile index 17e0c92..063e3e0 100644 --- a/image/base/Dockerfile +++ b/image/base/Dockerfile @@ -72,12 +72,12 @@ RUN mkdir /jemalloc-new && cd /jemalloc-new &&\ RUN echo 'gem: --no-document' >> /usr/local/etc/gemrc &&\ mkdir /src && cd /src && git clone https://github.com/sstephenson/ruby-build.git &&\ cd /src/ruby-build && ./install.sh &&\ - cd / && rm -rf /src/ruby-build && (ruby-build 2.6.6 /usr/local) + cd / && rm -rf /src/ruby-build && (ruby-build 2.7.2 /usr/local) RUN gem update --system RUN gem install bundler --force &&\ - rm -rf /usr/local/share/ri/2.6.6/system &&\ + rm -rf /usr/local/share/ri/2.7.2/system &&\ cd / && git clone https://github.com/discourse/pups.git ADD install-redis /tmp/install-redis -- 2.25.1