How does this warning need to be addressed for a dart runtime docker image to be secure? The docker image will ultimately be hosted in the google cloud.
You are building a Docker image from Windows against a non-Windows Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories."
The issue 20397 explains (credit: Sebastiaan van Stijn - thaJeztah)
I like to add in the Dockerfile, after a
COPY
, aRUN CHMOD +x aFile_I_Just_Copied