projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ea9939
)
DEV: Install latest pups via gem instead of git clone (#599)
author
Gabe Pacuilla
<gabe@discourse.org>
Fri, 28 Jan 2022 17:37:03 +0000
(12:37 -0500)
committer
GitHub
<noreply@github.com>
Fri, 28 Jan 2022 17:37:03 +0000
(12:37 -0500)
image/base/slim.Dockerfile
patch
|
blob
|
blame
|
history
diff --git
a/image/base/slim.Dockerfile
b/image/base/slim.Dockerfile
index 9ed97f428259675a7aa61d088210ef37afd580ae..aff0c122a820a91b751f5f4676ff2afe2a1674f4 100644
(file)
--- 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