moby/builder/dockerfile
Cory Snider 5bcd2f6860 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>
2024-02-12 13:31:44 -05:00
..
buildargs.go Sort unconsumed build arguments before usage 2023-07-09 03:23:06 -04:00
buildargs_test.go builder/dockerfile: add "ALL_PROXY" to list of default build args 2021-04-24 18:25:16 +02:00
builder.go builder/dockerfile: errmsg: quote build target 2023-11-02 09:38:14 +01:00
builder_unix.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
builder_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
containerbackend.go api: remove handling of HostConfig on POST /containers/{id}/start (api < v1.24) 2024-02-06 18:44:44 +01:00
copy.go builder/dockerfile: ADD with best-effort xattrs 2024-02-12 13:31:44 -05:00
copy_test.go builder/dockerfile: use string-literals for easier grep'ing 2023-07-05 12:25:59 +02:00
copy_unix.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
copy_windows.go builder/dockerfile: use string-literals for easier grep'ing 2023-07-05 12:25:59 +02:00
dispatchers.go builder/windows: Don't set ArgsEscaped for RUN cache probe 2024-01-25 16:04:07 +01:00
dispatchers_test.go api/types: move ContainerCreateConfig, ContainerRmConfig to api/types/backend 2023-12-05 16:41:36 +01:00
dispatchers_unix.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
dispatchers_unix_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
dispatchers_windows.go builder/dockerfile: format code with gofumpt 2023-06-29 00:25:21 +02:00
dispatchers_windows_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
evaluator.go image: implement CheckOS, deprecate pkg/system IsOSSupported 2023-09-07 22:14:44 +02:00
evaluator_test.go builder/dockerfile: format code with gofumpt 2023-06-29 00:25:21 +02:00
imagecontext.go migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
imagecontext_test.go builder: Don't store context in struct 2022-11-03 12:22:46 +01:00
imageprobe.go image/cache: Check image platform 2024-01-25 16:04:05 +01:00
internals.go image/cache: Check image platform 2024-01-25 16:04:05 +01:00
internals_linux.go migrate to github.com/moby/sys/user 2023-10-24 15:45:02 +02:00
internals_linux_test.go builder/dockerfile: format code with gofumpt 2023-06-29 00:25:21 +02:00
internals_test.go builder/dockerfile: format code with gofumpt 2023-06-29 00:25:21 +02:00
internals_windows.go builder/dockerfile: format code with gofumpt 2023-06-29 00:25:21 +02:00
internals_windows_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
metrics.go goimports: fix imports 2019-09-18 12:56:54 +02:00
mockbackend_test.go api: remove handling of HostConfig on POST /containers/{id}/start (api < v1.24) 2024-02-06 18:44:44 +01:00
utils_test.go builder/dockerfile: format code with gofumpt 2023-06-29 00:25:21 +02:00