Use asyncpg python module in alpine docker image
问题 I'm trying to build an image based on python:3-8.alpine , using the python module asyncpg . Here is a part of my Dockerfile: FROM python:3.8-alpine RUN apk add gcc RUN apk add python3-dev RUN pip3 install asyncpg I added gcc and python3-dev because I think I need them to be able to build asyncpg according to the documentation : https://magicstack.github.io/asyncpg/current/installation.html (but i'm not sure of that, I think I should be able to install without building this module) But I have