Closed dima-aronov closed 1 year ago
No, it is no security risk and needed to be able to run inside OpenShift without any problem. You can read more about it here:
Within linux systems group "root" does not give you any additional access rights. Here systems use "wheel" or "adm" group for this.
In the context of the dockerfile, the command " adduser "${SERVICE_USER}" -h "${HOME}" -G root -S -u 10000 " The SERVICE_USER is added to the root group which may pose a potential risk. Would it be possible to change the group to {SERVICE_USER} or any other lower privilege user.
Thanks !