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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]