You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Investigate whether the Dockerfile used in the test cases can be updated to run with a non-root user. They do a chown 1001 for some files, but do not switch to that user at the end of the file.
We can remove the --chown flag from the command. This will still work because the Dockerfile specifies the user as 1001, which is the default user in the image. The ownership of the copied files will be set to this user, so there will be no need to use the --chown flag.
In effect test cases can be run with a non-root user.
Investigate whether the Dockerfile used in the test cases can be updated to run with a non-root user. They do a
chown 1001
for some files, but do not switch to that user at the end of the file.Affected files:
This was identified in the static app scan.
The text was updated successfully, but these errors were encountered: