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
crane append currently just takes the provided tar file(s), and slaps it on top of the base image. This works fine, but it means if you repeatedly crane append the same (or only slightly different) tar onto the same base, it ends up with a bunch of duplicated layer data.
It could be cool if crane append and/or crane.Append or even-lower-level mutate.Append took an option to inspect the flattened base image and exclude any duplicate files (same path, same contents) in the new layer(s). If there are no new contents at all, crane append would be a no-op.