From 31b0885e005cd50d98d2fee56f2c475a563e386c Mon Sep 17 00:00:00 2001 From: root Date: Wed, 10 Jun 2026 21:15:42 -0400 Subject: [PATCH] automated update: 2026-06-10 21:15:42 --- Dockerfile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 68fcc69..72fc7e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,20 @@ FROM nvidia/cuda:12.4.1-runtime-ubuntu22.04 ENV DEBIAN_FRONTEND=noninteractive +# Add this BEFORE the apt-get update to handle dependencies RUN apt-get update && apt-get install -y --no-install-recommends \ - python3.12 python3.12-venv python3.12-dev libgl1 libglib2.0-0 libxext6 git curl g++ tini \ + ca-certificates \ + curl \ + gnupg \ + && rm -rf /var/lib/apt/lists/* + +# Add deadsnakes PPA and install Python +RUN apt-get update && apt-get install -y --no-install-recommends \ + software-properties-common \ + && add-apt-repository ppa:deadsnakes/ppa -y \ + && apt-get update && apt-get install -y --no-install-recommends \ + python3.12 python3.12-venv python3.12-dev \ + libgl1 libglib2.0-0 libxext6 git g++ tini \ && rm -rf /var/lib/apt/lists/* \ && ln -sf /usr/bin/python3.12 /usr/bin/python3