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

[Maintenance] reuse use with uid=1000 from distro #194

Closed
GioF71 opened this issue Jul 2, 2023 · 0 comments · Fixed by #211
Closed

[Maintenance] reuse use with uid=1000 from distro #194

GioF71 opened this issue Jul 2, 2023 · 0 comments · Fixed by #211
Assignees
Labels
enhancement New feature or request

Comments

@GioF71
Copy link
Owner

GioF71 commented Jul 2, 2023

Starting with lunar, the ubuntu docker image presents a user named "ubuntu" with uid set to 1000. Exactly the uid we need when using user mode, unless the local user id which runs the image does not have the uid 1000 (which is usually the default id for the first user).

The fact that the user is named 'ubuntu' should not be a problem. So instead of deleting the user in the dockerfile, we might reuse it in the entrypoint script. In this case, we cannot determine the user name (and so maybe the user directory path), but we should use the username that is set by the distro maintainer.

This is not a major issue, but let's see if we can have a cleaner build and run strategy.

@GioF71 GioF71 self-assigned this Jul 5, 2023
@GioF71 GioF71 added the enhancement New feature or request label Jul 5, 2023
@GioF71 GioF71 linked a pull request Jul 5, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant