You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2022/01/07 17:16:37 UTC

[GitHub] [solr] HoustonPutman commented on a change in pull request #498: SOLR-15891: Remove bloat in Solr docker layers

HoustonPutman commented on a change in pull request #498:
URL: https://github.com/apache/solr/pull/498#discussion_r780408265



##########
File path: 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 --file "/opt/solr-$SOLR_VERSION.tgz";
+  tar -C /opt --extract --preserve-permissions --file "/opt/solr-$SOLR_VERSION.tgz"; \
+  find "/opt/solr-$SOLR_VERSION/" -type f -print0 | xargs -0 chmod 0644;
 

Review comment:
       Just tried this out and it didn't affect this size of the layer, so probably no need to do it.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org