From d4b1a405f517dad51c0a8fc5de0660a37c6541ba Mon Sep 17 00:00:00 2001 From: clsferguson <48876201+clsferguson@users.noreply.github.com> Date: Wed, 17 Sep 2025 09:54:02 -0600 Subject: [PATCH] Switch to Python 3.12 base and add CMake for native builds Update the Dockerfile to use python:3.12.11-slim-trixie to align with available cp312 wheels (notably MediaPipe) and avoid 3.13 ABI gaps, add cmake alongside build-essential to support native builds like dlib, keep the CUDA-enabled PyTorch install via the vendor index, and leave user/workdir/entrypoint/port settings unchanged to preserve runtime behavior. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a88d18348..7960ca64e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Use a recent slim base image -FROM python:3.13.7-slim-trixie +FROM python:3.12.11-slim-trixie # Environment ENV DEBIAN_FRONTEND=noninteractive \ @@ -12,6 +12,7 @@ ENV DEBIAN_FRONTEND=noninteractive \ RUN apt-get update && apt-get install -y --no-install-recommends \ git \ build-essential \ + cmake \ libgl1 \ libglx-mesa0 \ libglib2.0-0 \