-
Notifications
You must be signed in to change notification settings - Fork 21
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
Are there nice ways to get git
(with submodules) working inside containers
#16
Comments
Could/should floki mount the working dir at its path in the host (rather than at |
This works better for rust as well, as if you change the path it recompiles everything (which is fine if you always use floki for everything, but a pain otherwise). |
@bossmc sounds like a reasonable idea. |
#19 adds an environment variable which contains the host working directory ( I'll probably end up forwarding the mount path too, but I want to think and test it a little more. |
Actually, simpler than bind mounts, a symlink might do it.
|
@bossmc don't know why I've been sitting on the idea of mirroring the host path as an option for so long. It just occurred to me today it makes enough things easier that it's worth doing. Will see if I can get to it this weekend/week. |
e.g.
git submodule update --init
is bound to fail since it uses absolute paths.The text was updated successfully, but these errors were encountered: