Skip to content

allow reading uid from ContainerUser to set the Tar entry uid #49770

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

baronfel
Copy link
Member

Fixes dotnet/sdk-container-builds#639

We read ContainerUser and, if it is an int or the well-known user name root, apply that value as the Uid on the TarEntries that we create.

One thing that Docker does better here is allowing Groups, as well as user and group values that aren't integers (presumably there's some kind of lookup that happens?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Containers Related to dotnet SDK containers functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ContainerUser and temporary directories and files
1 participant