Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyFromHost ¶
CopyFromHost should be used to copy files into the rootfs from the host fs. src is a path relative to CWD on the host, or an absolute path on the host. dstRel is a destination path inside dstRootfs. An empty dstRel "" means copy the src file to the same path in the rootfs. All symlinks encountered in the copy will be dereferenced (cp -L behavior).
func CopyFromStage ¶
CopyFromStage should be used to copy files into the rootfs from a previous stage. The src and dst are paths relative to the srcRootfs and dstRootfs. An empty dst "" means copy the src file to the same path in the dst rootfs. Symlinks are only dereferenced for the specified source or files that resolve directly from a specified glob pattern. Any additional links inside a directory being copied are not dereferenced. The disableIDMapping boolean should be set if this is a proot build, as the moby CopyWithTar will freeze with ID mapping enabled in this case.
Types ¶
This section is empty.