Docker image with Tor, Privoxy and a process manager under 15 MB
medium.com
medium.com
So if you can't go the Alpine (or if you don't want to :-)) there's a tool you can try. It's called DockerSlim. It was created for the Docker Global Hack day that ended a few days ago. You can see a demo here: https://www.youtube.com/watch?v=uKdHnfEbc-E The demo shows how I minified a 430MB Ubuntu 14 based Docker image (result: 40MB image that can be 9MB smaller once the tool is refactored and enhanced).
It's not production quality yet (it's a mess though it works for simple images), but it's a good start. Contributions are highly encouraged :-)
Wow, this looks brilliant! I'm going through the sources. Thanks!
Let me know if you want to contribute (even if it's not code). The most useful improvement on the todo list is to handle links properly. If you look at the image artifacts the tool generates in the demo you'll see two node.js runtimes...
Also, for those others that don't care for medium: