From: Sam Saffron Date: Fri, 20 Nov 2020 02:31:47 +0000 (+1100) Subject: Bump Ruby version to 2.7.2 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4b8532a99ebc852a6ad184b1d5af72a364dd857f;p=discourse_docker.git 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. --- 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