Current image cannot be used securely with runAsUser as the Dockerfile mentions a username instead of user id (UID). More on: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ the error k8s gives when trying to set `runAsUser: 1001` is that it cannot guarantee the id to be really the specified one.