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
This commit is contained in:
Alan Guo Xiang Tan 2024-12-17 14:54:12 +08:00 committed by GitHub
parent 0b74eeb842
commit b375a7113f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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