Closed lianhao closed 1 month ago
Hi @ZePan110, I drafted #330 per a previous request (#300) adding non-root user for ASR & whisper dockerfiles only. If you have planned to provide a unified update for all the dockerfiles, I'll close my PR.
@ZailiWang OK. You can close the PR, I am currently doing this.
The issue is solved by https://github.com/opea-project/GenAIComps/pull/406 and https://github.com/opea-project/GenAIComps/pull/460
This is a more generic requirement to all the container images created here. Many Kubernetes clouds have security standard policy that doesn't allow running as root in the container image. So we think it'd be better that the container images that released here, just like the image embedding-tei did, to add the support of running the image as not-root user(normally would be uid 1000).
Normally, we can add the following into the very top of the Dockerfile, i.e.
The following is a list of Dockerfile which needs to add this support besides ASR/Whisper which is mentioned in issue #300: