I keep running into people with quite some docker experience who don't know about multistage builds and either work around them orchestrating two containers manually or just push 700MB
images that contain a 5 MB binary.
So, I decided to show in a short video just how easily you can reduce the size of a Docker build from 700 MB to less than 10 MB. Enjoy!
2 thoughts on “Drastically reduce the size of your docker images with multistage builds”
Ugh, any ways to do this with interpreted languages?? My devs use NodeJS & PHP :/
If you start with Alpine most images will be way smaller than that.