-
Notifications
You must be signed in to change notification settings - Fork 785
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
imagebuildah,multi-stage: do not remove base-image when built without --layers
#5081
Conversation
--layers
--layers
Ephemeral COPR build failed. @containers/packit-build please check. |
@containers/buildah-maintainers PTAL, @lsm5 it seems |
When building a multi-stage image ( without `--layers` ) and a stage contains only a base-image buildah removes the base-image itself as part of cleanup process. This is a bug and following commit fixes that. Reproducer ```Dockerfile FROM parent FROM another-base COPY --from=0 somefile . ``` `buildah build -t multi-stage .` Closes: containers/podman#20291 Signed-off-by: Aditya R <[email protected]>
f52f61f
to
07d955f
Compare
I'm checking on the ELN issue, but right now this PR doesn't yet have the lgtm label, so I'm not sure if it's actually blocked on that. Do you see mergebot blocked on ELN failures in other PRs with lgtm label already? |
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: flouthoc, giuseppe, rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
ok, this time i'm seeing the |
ok, in Settings -> Branches, for the main repo Success task, I changed the value from |
Tide can be told to ignore specific status checks with its "override" command. |
When building a multi-stage image ( without
--layers
) and a stage contains only a base-image buildah removes the base-image itself as part of cleanup process. This is a bug and following commit fixes that.Reproducer
buildah build -t multi-stage .
Closes: containers/podman#20291
What type of PR is this?
What this PR does / why we need it:
How to verify it
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?