Why do we use inconsistent Python Docker images?
- esap-api-gateway's
esap/DockerfilesaysFROM python:3.10-slim. - esap-api-gateway's
.gitlab-ci.ymlusesimage: python:latestforrun-unit-tests. - esap-worker's
Dockerfilestarts withFROM python:3.10-alpine.
Somebody on the internet told me that using Alpine is a bad idea (but I didn't actually test for myself). Regardless of that, though, it seems like we should be consistent everywhere unless there's a reason not to be. And we definitely don't want to be testing with a version of Python (3.11) that's different from the version we're developing with (3.10), which means we should likely never using anything :latest.