-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
3
-
False
-
-
False
-
rhel-container-tools
-
-
[2966987681] Upstream Reporter: Daniel J Walsh
Upstream issue status: Closed
Upstream description:
A containerfile like the following:
FROM alpine as builder RUN mkdir -p /models; cd /models; ln -s MODEL model.file FROM scratch COPY --from=builder /models /modelsbuildah build -t foobar .
Will build two images, one called foobar and another one as
We need to allow users to execute
buildah build --rmi -t foobar .
Which would remove any cached images created during the build. Similar to --rm works on containers.
The RamaLama project executes podman build and is leaking these images because it is using --nocache during the build.
Upstream URL: https://github.com/containers/buildah/issues/6105
- links to