You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using --cache-to to push cache to a registry, buildah appears to include the base image referenced in the FROM line in the cache bundle it pushes to the registry. When dealing with very large base images, this can make the cache push very slow. It doesn't seem useful to push a base image to cache because this isn't something that was actually produced by the build. Would it be possible to omit this from the cache images pushed to the repository specified in --cache-to?
Steps to reproduce the issue:
Build an image using --cache-to
Describe the results you received:
Cache image pushed to registry is large and includes base image referenced by FROM line
Description
When using
--cache-to
to push cache to a registry, buildah appears to include the base image referenced in theFROM
line in the cache bundle it pushes to the registry. When dealing with very large base images, this can make the cache push very slow. It doesn't seem useful to push a base image to cache because this isn't something that was actually produced by the build. Would it be possible to omit this from the cache images pushed to the repository specified in--cache-to
?Steps to reproduce the issue:
--cache-to
Describe the results you received:
FROM
lineDescribe the results you expected:
Output of
buildah version
:The text was updated successfully, but these errors were encountered: