hlb icon indicating copy to clipboard operation
hlb copied to clipboard

Remove env hack for invalidating `run` without invalidating mount cache

Open coryb opened this issue 5 years ago • 0 comments

A hack was introduced in #147 to add an environment variable to the llb.ExecOp when ignoreCache is used instead of using llb.IgnoreCache. The llb option has the undesired effect of also invalidating all cache associated with mounts, which is generallly not what users want in HLB.

There is an open issue in buildkit: https://github.com/moby/buildkit/issues/1213

We should re-evaluate and remove this hack when the above issue is resolved.

coryb avatar May 19 '20 00:05 coryb