When the Gradle plugin bootBuildImage
task is writing the archive file contents to builder container it does not preserve the file permissions of any resources in the source archive. This can result in, for example, an executable script resource in the source archive to not be executable in the built image.