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: Fix building Dockerfiles that have FROM scratch #46302

Merged

Commits on Aug 23, 2023

  1. c8d/commit: Don't produce an empty layer

    If the diff is empty and don't produce an empty layer.
    
    Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
    (cherry picked from commit eb56493)
    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    vvoland authored and thaJeztah committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    4967125 View commit details
    Browse the repository at this point in the history
  2. c8d/run: Allow running container without image

    This allows the legacy builder to apply changes to the `FROM scratch`
    layer.
    
    Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
    (cherry picked from commit dfaff95)
    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    vvoland authored and thaJeztah committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    6342251 View commit details
    Browse the repository at this point in the history
  3. daemon: Handle NotFound when deleting container lease

    If the lease doesn't exit (for example when creating the container
    failed), just ignore the not found error.
    
    Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
    (cherry picked from commit bedcc94)
    Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
    vvoland authored and thaJeztah committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    1d10e86 View commit details
    Browse the repository at this point in the history