Skip to content

Commit a93df07

Browse files
committed
try fix docker
1 parent e8098aa commit a93df07

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
FROM nvidia/cuda:12.6.3-runtime-ubuntu22.04
22

3-
# note: the python3-pip package contains Python 3.12 on Ubuntu 22.04
3+
# Install Python 3.12 from deadsnakes PPA
44
RUN apt-get update \
5-
&& apt-get install git python3 python3-venv ffmpeg curl -y \
5+
&& 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 \
69
&& apt-get clean \
710
&& rm -rf /var/lib/apt/lists/*
811

0 commit comments

Comments
 (0)