Skip to content
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

User specification / Operating system split #169

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dustanddreams
Copy link
Contributor

This PR tries to make the separation between the type of OS we're targeting and the way users are specified.

The existing code always assumes numerical user ids are used with Unix-like systems while named users are used with Windows. While there are indeed strong requirements from docker and runc to use numerical user ids, other environments (such as the FreeBSD sandbox being worked on) work well with named users.

So this PR:

  • changes user type from Unix and Windows to ById and ByName.
  • keeps however Unix and Windows for the dockerfile generation style, since what matters there is the OS being targeted
  • handles named users when possible in various place (mainly for chown commands and tar headers).

This should not break anything (famous last words).

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.

1 participant