The best things in life are small, at least when it comes to web serving. In Serve small with Fly.io and GoStatic we squeeze things down to 7.7MB for a web server, content and Fly takes care of all the https work for us.
This might be the smallest image so far.
Definitely, compared to our node 80mb files lol
And I thought my 17.6mb image wasn’t too shabby. To be fair, the binary itself weight in around 15mb and does require other things like ca-certs. The
gcr.io/distroless/static image works great for my needs!
For my rust friends, I can highly recommend https://github.com/emk/rust-musl-builder