Closed hinshun closed 2 years ago
Pending discussion in: https://github.com/moby/buildkit/issues/2663
BuildKit's stargz compression default behavior is to leave standard layers alone, creating a mixed mode image where some layers are standard and some are stargz. I believe this is non-intuitive for users, so in the spirit of HLB, we should always end up with a fully stargz image, while having options available for mixed mode later.
See: https://github.com/moby/buildkit/issues/2663#issuecomment-1047300669
Also it seems that gateway exec unlazy stargz image, looking at our gateway code, nothing sticks out on our usage.
Added tests and disabled for moby engine until it supports stargz.
See: https://github.com/moby/buildkit/blob/master/docs/stargz-estargz.md
Example manifest: