Split namespace syscall content for building on non-Linux#554
Split namespace syscall content for building on non-Linux#554crosbymichael merged 1 commit intodocker-archive:masterfrom
Conversation
libcontainer/configs is used by the docker user namespace proposed patchset to use IDMap for uid/gid maps across the codebase. Given the client uses some of this code, it needs to build on non-Linux. This separates out the Linux-only syscalls using build tags. Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
|
LGTM |
|
What does the client use? |
|
pkg/archive Sent from my iPhone
|
|
what does that depend on? |
|
needs def'n for |
|
Humm, i don't think an archive package needs to depend on a libcontainer package. Seems like it's not the right depedency |
|
I need []configs.IDMap all over docker, and of course, as you know, the archiver has to have those maps to do remapping on layer untar. Given |
|
Even if they dont have to share However this will probably make libct branch not working because of the build tags. |
|
@crosbymichael let me know if you want me to have a Docker "shadow" |
|
I would rather have this struct not in the code of docker right. So if you could make the type defined there that would be great. |
|
Anyways, this is a good idea to do. LGTM |
Split namespace syscall content for building on non-Linux
libcontainer/configs is used by the docker user namespace proposed
patchset to use IDMap for uid/gid maps across the codebase. Given the
client uses some of this code, it needs to build on non-Linux. This
separates out the Linux-only syscalls using build tags.
Signed-off-by: Phil Estes estesp@linux.vnet.ibm.com (github: estesp)