moby/builder
Cory Snider 27f36f42a4 builder/dockerfile: ADD with best-effort xattrs
Archives being unpacked by Dockerfiles may have been created on other
OSes with different conventions and semantics for xattrs, making them
impossible to apply when extracting. Restore the old best-effort xattr
behaviour users have come to depend on in the classic builder.

The (archive.Archiver).UntarPath function does not allow the options
passed to Untar to be customized. It also happens to be a trivial
wrapper around the Untar function. Inline the function body and add the
option.

Signed-off-by: Cory Snider <csnider@mirantis.com>
(cherry picked from commit 5bcd2f6860)
Signed-off-by: Albin Kerouanton <albinker@gmail.com>
2024-03-01 10:01:09 +01:00
..
builder-next vendor: github.com/moby/buildkit v0.12.5 2024-01-31 21:24:39 +01:00
dockerfile builder/dockerfile: ADD with best-effort xattrs 2024-03-01 10:01:09 +01:00
remotecontext pkg/system: return even richer xattr errors 2024-01-23 09:27:49 +01:00
builder.go image/cache: Check image platform 2024-01-25 16:07:13 +01:00