4 ms·
On the same note I did a mariadb container that is ~12mb: https://hub.docker.com/r/jbergstroem/mariadb-alpine/ https://hub.docker.com/r/jbergstroem/mariadb-alpi
by jbergstroem 9y ago
On the same note I did a mariadb container that is ~12mb: https://hub.docker.com/r/jbergstroem/mariadb-alpine/ https://hub.docker.com/r/jbergstroem/mariadb-alpine/
If you're into go, it's not too hard to get very small (<5mb) shippables by statically compiling against musl and using upx. Here's a somewhat scrubbed Dockerfile for a gRPC/rest service I use at work: https://gist.github.com/jbergstroem/680cb7db6f90319dcd7666f30e9b1ec4 https://gist.github.com/jbergstroem/680cb7db6f90319dcd7666f3...
- e12e 9y ago5mb still sounds like a lot, considering you could squeeze Linux 1.3 on a 1.44 mb floppy with a (compressed) rootfs... I mean does the runtime really do that much more than a full (although old) os kernel and a C library/runtime and apps?
- nathan-osman 9y agoThe entirety of Debian 0.97 (kernel, userspace, packages) fit on two floppies back in 1994 :P
- jbergstroem 9y agoFor that I reckon you'd have to file a bug with golang.