How to build a smaller Docker image

https://medium.com/@gdiener/how-to-build-a-smaller-docker-image-76779e18d48a