duedil-ltd/portainer

Automatically squash built images

tarnfeld opened this issue · 0 comments

For a variety of performance reasons outlined in this article it can be desired to squash a built image (except the first layer) into fewer layers. Since portainer is managing the entire build flow, it should be quite easy to add an option (perhaps also an instruction PORTAINER_SQUASH) to automatically squash images before pushing them.