dockerTools.streamLayeredImage: Correctly copy hardlinks
This commit is contained in:
parent
cc46362929
commit
2ae2186dfd
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ def archive_paths_to(obj, paths, mtime, add_nix, filter=None):
|
|||
if ti.islnk():
|
||||
ti.type = tarfile.REGTYPE
|
||||
ti.linkname = ""
|
||||
ti.size = filename.stat().st_size
|
||||
|
||||
ti = apply_filters(ti)
|
||||
if ti.isfile():
|
||||
|
|
Loading…
Reference in a new issue