From Dev.to
Python Docker Image: Alpine vs Slim vs Distroless When pip Says "Failed building wheel"
For most Python services, use a python:3.x-slim base with a multi-stage build and a virtualenv. Alpine looks smaller, but it uses musl instead of glibc, so many packages fall back to compiling from so...
