Skip to content

Commit abf4fb3

Browse files
committed
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
1 parent 5ed07ec commit abf4fb3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

image/base/Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,6 @@ RUN /tmp/install-redis
127127
ADD install-oxipng /tmp/install-oxipng
128128
RUN /tmp/install-oxipng
129129

130-
RUN echo 'gem: --no-document' >> /usr/local/etc/gemrc &&\
131-
gem update --system
132-
133130
RUN gem install pups --force &&\
134131
mkdir -p /pups/bin/ &&\
135132
ln -s /usr/local/bin/pups /pups/bin/pups

0 commit comments

Comments
 (0)