Skip to content

Conversation

@ktock
Copy link
Member

@ktock ktock commented Dec 21, 2020

#217 (comment)

estargz.Build currently doesn't support duplicated entries in the input tar.
But there are images that contain duplicated entries in a layer and we currently
cannot optimize these layers.

GNU tar supports duplicated entries by replacing the former entry with the later
one. (https://www.gnu.org/software/tar/manual/html_node/multiple.html) This
commit takes the simillar approach for supporting duplicated entries.

`estargz.Build` currently doesn't support duplicated entries in the input tar.
But there are images that contain duplicated entries in a layer and we currently
cannot optimize these layers.

GNU tar supports duplicated entries by replacing the former entry with the later
one. (https://www.gnu.org/software/tar/manual/html_node/multiple.html) This
commit takes the simillar approach for supporting duplicated entries.

Signed-off-by: Kohei Tokunaga <[email protected]>
@AkihiroSuda AkihiroSuda merged commit 9a7db93 into containerd:master Dec 21, 2020
@ktock ktock deleted the dup-ent branch October 7, 2022 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants