mirror of
https://github.com/containers/podman.git
synced 2025-12-01 18:49:18 +08:00
Just like buildkit buildah must allow cleaning the buildcache and cache generated on host by --mount=type=cache just like buildkit's prune command. See: https://github.com/moby/buildkit#cache Signed-off-by: Aditya R <arajan@redhat.com>
5 lines
128 B
Plaintext
5 lines
128 B
Plaintext
FROM alpine
|
|
RUN mkdir /test
|
|
# use option z if selinux is enabled
|
|
RUN --mount=type=cache,target=/test,z echo hello > /test/world
|