diff --git a/Dockerfile b/Dockerfile index 9ac810e..52d7130 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,8 +7,11 @@ # ============================================================================= FROM nvidia/cuda:12.9.0-devel-ubuntu24.04 AS builder -# Install build dependencies +# Install build dependencies (deadsnakes PPA required for python3.10 on Ubuntu 24.04) RUN apt-get update && apt-get install -y --no-install-recommends \ + software-properties-common \ + && add-apt-repository -y ppa:deadsnakes/ppa \ + && apt-get update && apt-get install -y --no-install-recommends \ python3.10 python3.10-venv python3.10-dev python3.10-distutils \ build-essential curl \ && rm -rf /var/lib/apt/lists/* @@ -68,8 +71,11 @@ ENV PYTHONUNBUFFERED=1 \ WORKDIR /app -# Minimal runtime dependencies (no build tools) +# Minimal runtime dependencies (deadsnakes PPA required for python3.10 on Ubuntu 24.04) RUN apt-get update && apt-get install -y --no-install-recommends \ + software-properties-common \ + && add-apt-repository -y ppa:deadsnakes/ppa \ + && apt-get update && apt-get install -y --no-install-recommends \ python3.10 \ libgl1 libglib2.0-0 libgomp1 \ curl pandoc \