From: Gabe Pacuilla Date: Fri, 28 Jan 2022 17:37:03 +0000 (-0500) Subject: DEV: Install latest pups via gem instead of git clone (#599) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ad0716c442b2b21b64d54a92bbc071c9c123fb5d;p=discourse_docker.git DEV: Install latest pups via gem instead of git clone (#599) --- diff --git a/image/base/slim.Dockerfile b/image/base/slim.Dockerfile index 9ed97f4..aff0c12 100644 --- a/image/base/slim.Dockerfile +++ b/image/base/slim.Dockerfile @@ -87,9 +87,10 @@ RUN echo 'gem: --no-document' >> /usr/local/etc/gemrc &&\ RUN gem update --system -RUN gem install bundler --force &&\ - rm -rf /usr/local/share/ri/2.7.5/system &&\ - cd / && git clone https://github.com/discourse/pups.git +RUN gem install bundler pups --force &&\ + mkdir -p /pups/bin/ &&\ + ln -s /usr/local/bin/pups /pups/bin/pups &&\ + rm -rf /usr/local/share/ri/2.7.5/system ADD install-redis /tmp/install-redis RUN /tmp/install-redis