From b375a7113f8477bcd1bcc6a71ac40d139b715f0a Mon Sep 17 00:00:00 2001 From: Alan Guo Xiang Tan Date: Tue, 17 Dec 2024 14:54:12 +0800 Subject: [PATCH] Remove updating of rubygems (#896) 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 1818b8f..e9052ed 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 -- 2.25.1