You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so that the docker image is run as the current user. This prevents xgo from creating any root-owned files in some of the mounted volumes (since it automatically mounts ~/go and ~/.xgo-cache`).
This works great for me, but I noticed that the build script complains about not being able to create /deps and/or /deps-build (as you would need to be root in the container). I don't use that feature, but I wondered if it would be possible to also couple these to user-owned directories somehow? That would allow xgo to maybe by default run as the current user, which is IMHO a much better solution than trying to chown after the fact.
The text was updated successfully, but these errors were encountered:
I'm running
xgo
with the option:so that the docker image is run as the current user. This prevents
xgo
from creating any root-owned files in some of the mounted volumes (since it automatically mounts ~/go and ~/.xgo-cache`).This works great for me, but I noticed that the build script complains about not being able to create
/deps
and/or/deps-build
(as you would need to be root in the container). I don't use that feature, but I wondered if it would be possible to also couple these to user-owned directories somehow? That would allowxgo
to maybe by default run as the current user, which is IMHO a much better solution than trying tochown
after the fact.The text was updated successfully, but these errors were encountered: