We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8098aa commit a93df07Copy full SHA for a93df07
Dockerfile
@@ -1,8 +1,11 @@
1
FROM nvidia/cuda:12.6.3-runtime-ubuntu22.04
2
3
-# note: the python3-pip package contains Python 3.12 on Ubuntu 22.04
+# Install Python 3.12 from deadsnakes PPA
4
RUN apt-get update \
5
- && apt-get install git python3 python3-venv ffmpeg curl -y \
+ && apt-get install -y software-properties-common \
6
+ && add-apt-repository ppa:deadsnakes/ppa -y \
7
+ && apt-get update \
8
+ && apt-get install git python3.12 python3.12-venv python3.12-dev ffmpeg curl -y \
9
&& apt-get clean \
10
&& rm -rf /var/lib/apt/lists/*
11
0 commit comments