KeyDB Docker Distribution Improvements

Can we get a slimmed build of the docker image? If you look into multi-stage builds and basing it on BusyBox instead of Ubuntu you can get the image down to ballpark 6MB instead of the present 186MB, and still have enough tooling to poke around. Or at least Alpine, which has a convenient package manager.

I considered doing this today by extracting all the libraries and binaries from the Docker image… but would of course be better not to have to lol.

Take a look at this Clear Linux write up on the subject. (Coincidentally they do it for Redis and get it down to 5-odd MB).

https://clearlinux.org/blogs-news/minimizing-clear-linux-os-container-sizes

Also can we request custom keydb-pro-server binaries by chip architecture? Maybe docker images tagged by them? there’s some performance left on the table when built against a general architecture.