fix: Downgrade Python to 3.11 and use compatible dependency versions
Some checks failed
Build and Push Docker Image / build-gpu (push) Failing after 10s
Build and Push Docker Image / build-cpu (push) Failing after 10s

This commit is contained in:
Developer
2026-02-16 20:07:26 +01:00
parent e7a68c9c6d
commit 7c4a3c5abf
4 changed files with 22 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
ARG VARIANT=cpu
# ---- CPU base ----
FROM python:3.12-slim AS base-cpu
FROM python:3.11-slim AS base-cpu
RUN apt-get update && apt-get install -y --no-install-recommends \
curl libgl1 libglib2.0-0 \
@@ -22,9 +22,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& add-apt-repository ppa:deadsnakes/ppa \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
python3.12 python3.12-venv python3.12-dev \
python3.11 python3.11-venv python3.11-dev \
curl libgl1 libglib2.0-0 \
&& ln -sf /usr/bin/python3.12 /usr/bin/python3 \
&& ln -sf /usr/bin/python3.11 /usr/bin/python3 \
&& ln -sf /usr/bin/python3 /usr/bin/python \
&& python3 -m ensurepip --upgrade \
&& python3 -m pip install --no-cache-dir --upgrade pip \