buildah cache with `--layers` does not work when in `RUN` `--mount=type=bind` uses `image` or `additional-build-context` as source
flouthoc opened this issue · 4 comments
Description
buildah cache with --layers
does not work when in RUN
--mount=type=bind
uses image
or additional-build-context
as source
Steps to reproduce the issue:
- Create a build where
--mount=type=bind,source=.,dest=/somepath,from=<image>
or--mount=type=bind,source=.,dest=/somepath,from=<additional-build-context>
- Perform build with
--layers
- Perform build with
--layers
again.
Describe the results you received:
On second build, entire build must be cached.
Describe the results you expected:
Buildah does not uses cache
on the second build.
Output of rpm -q buildah
or apt list buildah
:
(paste your output here)
Output of buildah version
:
(paste your output here)
Output of podman version
if reporting a podman build
issue:
(paste your output here)
Output of cat /etc/*release
:
(paste your output here)
Output of uname -a
:
(paste your output here)
Output of cat /etc/containers/storage.conf
:
(paste your output here)
A friendly reminder that this issue had no activity for 30 days.
This is not stale, waiting on review here: #5693 (comment)
A friendly reminder that this issue had no activity for 30 days.