docker-squash used to be a pretty integral part of how we used Docker to deploy apps to our volunteer computing project, Cosmology@Home. Unfortunately it no longer works on Docker 1.10+ and based on discussion there its not clear if its going to get patched anytime soon.
So my question is, are there any other tool to squash layers that currently work?
The way I was using it was essentially by having the final RUN command in the Dockerfile be a big
rm of tons of unused files, then squashing all the layers but the base. I do know of docker-slim but this doesn’t let you control which layers to squash, and in any case, I tried it on my images and it seems to produce images that are corrupt.
Thanks for any advice!