-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
area-dockerfilesConcerns the official .NET Dockerfiles or Dockerfile templatesConcerns the official .NET Dockerfiles or Dockerfile templates
Description
We had a discussion about how folks should use the new app user and whether they should use its name or UID for the USER instruction. We decided that the UID is best since it works better with the runAsNonUser Kubernetes feature.
Plan:
- Add
ENV APP_UID=64198toruntime-depslayer - Encourage users to use the following pattern:
USER $APP_UID
It's possible that having an ENV for the UID may be useful for other scenarios.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-dockerfilesConcerns the official .NET Dockerfiles or Dockerfile templatesConcerns the official .NET Dockerfiles or Dockerfile templates
Type
Projects
Status
Done