Alex Bennée <alex.ben...@linaro.org> writes:
> 
> Fabiano Rosas <faro...@suse.de> writes:
> 
> >
> > I think we might need to add DOCKER_BUILDKIT=1 $(RUNC) ... to properly
> > make use of caching with docker. As for podman, I'm seeing conflicting
> > information on the web as to whether it even supports caching.
> 
> As opposed to --build-arg BUILDKIT_INLINE_CACHE=1 or both?

For me, `DOCKER_BUILDKIT=1 $(RUNC)` seems to do the trick with no
need for `--build-arg BUILDKIT_INLINE_CACHE=1`.

In fact, the latter appears to be ignored by my docker instalation:
"[Warning] One or more build-args [BUILDKIT_INLINE_CACHE] were not consumed"

Reply via email to