Squash docker images to make them smaller.
docker-squash is a utility to squash multiple docker layers into one in order to create an image with fewer and smaller layers. It retains Dockerfile commands such as PORT, ENV, etc.. so that squashed images work the same as they were originally built. In addition, deleted files in later layers are actually purged from the image when squashed.
jwilder/docker-squash
docker-squash - Squash docker images to make them smaller
github.com