Skip to content

Dockerfile: support Kubernetes runAsNonRoot#1344

Merged
tonistiigi merged 1 commit intomoby:masterfrom
AkihiroSuda:kube-runasnonroot
Jan 28, 2020
Merged

Dockerfile: support Kubernetes runAsNonRoot#1344
tonistiigi merged 1 commit intomoby:masterfrom
AkihiroSuda:kube-runasnonroot

Conversation

@AkihiroSuda
Copy link
Copy Markdown
Member

Kubernetes runAsNonRoot requires `USER` in Dockerfile to be numeric:
https://github.com/kubernetes/kubernetes/blob/v1.18.0-alpha.2/pkg/kubelet/kuberuntime/security_context.go#L98

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants