Docker Alpine build fails on mysqlclient installation with error: Exception: Can not find valid pkg-config name
Docker Alpine build fails on mysqlclient installation with error: Exception: Can not find valid pkg-config name Question: I’m encountering a problem when building a Docker image using a Python-based Dockerfile. I’m trying to use the mysqlclient library (version 2.2.0) and Django (version 4.2.2). Here is my Dockerfile: FROM python:3.11-alpine WORKDIR /usr/src/app COPY requirements.txt . RUN …