
This commit copies the file mode along with other attributes when copying files from the source archive to the build container while building an image using the Gradle plugin. This preserves file permissions on any resources included in the source archive. Fixes gh-25915