Improve installation speed of geddit in Alpine-based container
Installation of the geddit package in an Alpine-based container (tested with python:3.9-alpine
) generally takes several hours, much longer than any other packages we're using. This can significantly slow local development and may even cause CI builds to timeout, so this installation time needs to be dramatically reduced.
The delays appear to be due to downloading different versions of the dependency google_api_core
, with each download apparently taking a very long time (downloads are small though, so presumably this isn't an actual issue with the download but the subsequent processing?)
Alternatively, as this is one of many issues we have encountered with Alpine Linux and the size advantages vs. "slim" installations (Debian-based) are usually relatively small once lots of packages have been installed, we could just stop using Alpine Linux for our Docker images.