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

[24.0 backport] c8d/legacybuilder: Fix mismatched image rootfs errors #46310

Merged
merged 1 commit into from Aug 24, 2023

Commits on Aug 24, 2023

  1. c8d/builder: Don't drop fields from created image

    Previous image created a new partially filled image.
    This caused child images to lose their parent's layers.
    
    Instead of creating a new object and trying to replace its fields, just
    clone the original passed image and change its ID to the manifest
    digest.
    
    Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
    (cherry picked from commit 01214ba)
    Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
    vvoland committed Aug 24, 2023
    Configuration menu
    Copy the full SHA
    ed2f5d1 View commit details
    Browse the repository at this point in the history