From abf4fb3ec3f7da1bc621f648b4f006f62bf83589 Mon Sep 17 00:00:00 2001 From: Alan Guo Xiang Tan Date: Tue, 17 Dec 2024 13:42:09 +0800 Subject: [PATCH] Remove updating of rubygems This adds an additional layer of 20mb for no reason. We don't need to be running the latest version of rubygems all the time. Even if we need to update rubygems, it should be updated in https://github.com/discourse/docker-ruby --- image/base/Dockerfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/image/base/Dockerfile b/image/base/Dockerfile index 1818b8fc1..e9052ed66 100644 --- a/image/base/Dockerfile +++ b/image/base/Dockerfile @@ -127,9 +127,6 @@ RUN /tmp/install-redis ADD install-oxipng /tmp/install-oxipng RUN /tmp/install-oxipng -RUN echo 'gem: --no-document' >> /usr/local/etc/gemrc &&\ - gem update --system - RUN gem install pups --force &&\ mkdir -p /pups/bin/ &&\ ln -s /usr/local/bin/pups /pups/bin/pups