genuinetools / img

Standalone, daemon-less, unprivileged Dockerfile and OCI compatible container image builder.
https://blog.jessfraz.com/post/building-container-images-securely-on-kubernetes/
MIT License
3.89k stars 230 forks source link

Support img build --squash #162

Open mrueg opened 5 years ago

mrueg commented 5 years ago

docker build --squash - Squash newly built layers into a single new layer

It would be nice if img supports this as well.

jessfraz commented 5 years ago

seems related to https://github.com/genuinetools/img/issues/167

AkihiroSuda commented 5 years ago

upstream issue: https://github.com/moby/buildkit/issues/819 PR: https://github.com/moby/buildkit/pull/833