There’s a few standard size tricks missing here. For example the apk index is left over, and the -dev packages are not removed after installing the ssl packages.
Thanks, I’ll try to add these suggestions. Do you by chance have any pointers to Dockerfiles that do that? (I find it always easyer to steal^w learn from others…).
There’s a lot of good examples at https://docs.docker.com/develop/develop-images/dockerfile_best-practices/
To verify your image and get a summary of things you can remove, check https://github.com/viraptor/cruftspy