Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

builder/dockerfile: ADD with best-effort xattrs #47175

Merged
merged 1 commit into from
Feb 22, 2024

Commits on Feb 12, 2024

  1. 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>
    corhere committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    5bcd2f6 View commit details
    Browse the repository at this point in the history