linux-kernel-module-cheat
linux-kernel-module-cheat copied to clipboard
add USER for docker
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.
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.
Hi! Thanks for your input. I just read this, I'll take a look.