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

add USER for docker #262

Open
atharvanan1 opened this issue Aug 8, 2023 · 2 comments
Open

add USER for docker #262

atharvanan1 opened this issue Aug 8, 2023 · 2 comments

Comments

@atharvanan1
Copy link

atharvanan1 commented Aug 8, 2023

I noticed that using docker to do first build, will result in cloning the submodules with root owner. Do we want to add USER setting in the Dockerfile to be able to clone those with USER owner? This proves editing the submodules a bit difficult. There are workarounds - chown -R USER:GROUP submodules and such.

Not a high priority.

@cirosantilli
Copy link
Owner

Hi. Yes, I would like to do that, not only for submodules, but also for the entire out/ directory. This is mentioned at: https://cirosantilli.com/linux-kernel-module-cheat/docker "TODO make files created inside Docker be owned by the current user in host instead of root". If you find a way, do let me know.

@atharvanan1
Copy link
Author

Hi! Thanks for your input. I just read this, I'll take a look.

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

No branches or pull requests

2 participants