mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-06 14:07:50 +00:00
`podman builder prune` and `podman image prune` should also support cleaning build cache using buildah's public `CleanCacheMount` API. Reference: https://docs.docker.com/reference/cli/docker/builder/prune/ Context: https://github.com/containers/podman/discussions/15612#discussioncomment-10532721 Context: https://github.com/containers/buildah/pull/4490 Signed-off-by: flouthoc <flouthoc.git@gmail.com>
4 lines
119 B
Text
4 lines
119 B
Text
FROM alpine
|
|
RUN mkdir /test
|
|
# use option z if selinux is enabled
|
|
RUN --mount=type=cache,target=/test,z cat /test/world
|