You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ho...@apache.org on 2022/03/31 23:15:04 UTC
[solr] branch branch_9_0 updated: SOLR-15891: Delete tgz from the official image after untarring (#782)
This is an automated email from the ASF dual-hosted git repository.
houston pushed a commit to branch branch_9_0
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9_0 by this push:
new f984623 SOLR-15891: Delete tgz from the official image after untarring (#782)
f984623 is described below
commit f984623f53b0b617140d8136e1ad3ddfee1dbcfd
Author: Houston Putman <ho...@apache.org>
AuthorDate: Thu Mar 31 19:06:47 2022 -0400
SOLR-15891: Delete tgz from the official image after untarring (#782)
(cherry picked from commit 2483ad325843b51eaa2b8f199eadacd40013d9c9)
---
solr/docker/templates/Dockerfile.official.header.template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/solr/docker/templates/Dockerfile.official.header.template b/solr/docker/templates/Dockerfile.official.header.template
index 8121d06..d0d1330 100644
--- a/solr/docker/templates/Dockerfile.official.header.template
+++ b/solr/docker/templates/Dockerfile.official.header.template
@@ -90,5 +90,6 @@ RUN set -ex; \
fi; \
{ command -v gpgconf; gpgconf --kill all || :; }; \
rm -r "$GNUPGHOME"; \
- tar -C /opt --extract --preserve-permissions --file "/opt/solr-$SOLR_VERSION.tgz";
+ tar -C /opt --extract --preserve-permissions --file "/opt/solr-$SOLR_VERSION.tgz"; \
+ rm "/opt/solr-$SOLR_VERSION.tgz"*;