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
{{ message }}
Repository navigation
Are there nice ways to get git (with submodules) working inside containers #16
Could/should floki mount the working dir at its path in the host (rather than at /src)? Probably hidden behind a config flag (as your init script needs to be aware of this... maybe add a WORKDIR too?)
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).
#19 adds an environment variable which contains the host working directory (FLOKI_HOST_WORKDIR), since that seems to be the absolute minimum needed (I think bind mounts would unlock the rest, in a pinch).
I'll probably end up forwarding the mount path too, but I want to think and test it a little more.
@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.
Activity
bossmc commentedon May 29, 2019
Could/should floki mount the working dir at its path in the host (rather than at
/src)? Probably hidden behind a config flag (as your init script needs to be aware of this... maybe add aWORKDIRtoo?)cswindle commentedon Jun 3, 2019
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).
rlupton20 commentedon Jun 9, 2019
@bossmc sounds like a reasonable idea.
rlupton20 commentedon Jun 9, 2019
#19 adds an environment variable which contains the host working directory (
FLOKI_HOST_WORKDIR), since that seems to be the absolute minimum needed (I think bind mounts would unlock the rest, in a pinch).I'll probably end up forwarding the mount path too, but I want to think and test it a little more.
rlupton20 commentedon Jun 9, 2019
Actually, simpler than bind mounts, a symlink might do it.
rlupton20 commentedon Aug 10, 2019
@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.