From 092e6186ab484f25ee37688f9f6d425b96cb3ae0 Mon Sep 17 00:00:00 2001 From: Oscar Krause Date: Tue, 4 Jul 2023 10:46:51 +0200 Subject: [PATCH] added missing "pkg-config" for "mysqlclient==2.2.0" ref. https://stackoverflow.com/questions/76533384/docker-alpine-build-fails-on-mysqlclient-installation-with-error-exception-can --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2d1c745..4022871 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ RUN echo -e "VERSION=$VERSION\nCOMMIT=$COMMIT" > /version.env COPY requirements.txt /tmp/requirements.txt RUN apk update \ - && apk add --no-cache --virtual build-deps gcc g++ python3-dev musl-dev \ + && apk add --no-cache --virtual build-deps gcc g++ python3-dev musl-dev pkgconf \ && apk add --no-cache curl postgresql postgresql-dev mariadb-connector-c-dev sqlite-dev \ && pip install --no-cache-dir --upgrade uvicorn \ && pip install --no-cache-dir psycopg2==2.9.6 mysqlclient==2.2.0 pysqlite3==0.5.1 \