Closed gianpaolo-tndigit closed 1 month ago
Kubernetes cannot verify the non-root status when USER aac is used, resulting in the error:
Error: container has runAsNonRoot and image has non-numeric user (aac), cannot verify user is non-root.
a possibile fix could be replace USER aac with USER 805.
https://github.com/scc-digitalhub/AAC/blob/e176d75fbea86063eda8f88ef6efd6b00b997818/Dockerfile#L34
https://github.com/scc-digitalhub/AAC/blob/e176d75fbea86063eda8f88ef6efd6b00b997818/Dockerfile-debug#L25
close with 11dad73a35e5619051a3830ebc1937ceea97abec
Kubernetes cannot verify the non-root status when USER aac is used, resulting in the error:
Error: container has runAsNonRoot and image has non-numeric user (aac), cannot verify user is non-root.
a possibile fix could be replace USER aac with USER 805.
https://github.com/scc-digitalhub/AAC/blob/e176d75fbea86063eda8f88ef6efd6b00b997818/Dockerfile#L34
https://github.com/scc-digitalhub/AAC/blob/e176d75fbea86063eda8f88ef6efd6b00b997818/Dockerfile-debug#L25