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
I'm assuming here that the cache-from can point to a local image as well with behaviour similar to docker run where it will pull it if it doesn't exist. I'm basing this theory based on this statement on the docs
BuildKit automatically pulls the image from the registry if needed.
Overview
Buildpacks can use a (previously published) remote image to speed up the build. As per moby/buildkit#2097 (comment), this is conceptually similar to --cache-from functionality.
We should be able to lean on GetCacheImports API to enable specifying the remote image. UX will be roughly as follows:
$ docker build --cache-from myregistry/myimage .
build
section:Since Buildpacks only support analysing a single image, only the first entry of
registry
type will be picked up.CC @jromero for awareness
The text was updated successfully, but these errors were encountered: