KevinX-Penn28 commited on
Commit
826be42
·
verified ·
1 Parent(s): 5850921

dockerfile copy and paste

Browse files
Files changed (1) hide show
  1. Dockerfile +21 -13
Dockerfile CHANGED
@@ -1,19 +1,27 @@
1
  FROM nvidia/cuda:12.6.0-runtime-ubuntu22.04
2
 
3
  RUN useradd -m -u 1001 user
4
- # System deps
5
- RUN apt-get update && \
6
- apt-get install -y --no-install-recommends \
7
- python3 \
8
- python3-venv \
9
- python3-pip \
10
- git \
11
- build-essential \
12
- ninja-build \
13
- ffmpeg \
14
- libgl1 \
15
- libglib2.0-0 && \
16
- rm -rf /var/lib/apt/lists/*
 
 
 
 
 
 
 
 
17
 
18
  # Create virtualenv
19
  RUN python3 -m venv /opt/venv
 
1
  FROM nvidia/cuda:12.6.0-runtime-ubuntu22.04
2
 
3
  RUN useradd -m -u 1001 user
4
+ # System depsFROM pytorch/pytorch:2.6.0-cuda12.4-cudnn9-devel
5
+
6
+ RUN apt update && apt upgrade -y
7
+ RUN apt-get -y install software-properties-common
8
+ RUN add-apt-repository -y ppa:fish-shell/release-4
9
+ RUN apt-get -y install git fish tmux
10
+
11
+ RUN python -m pip install ffmpeg-python
12
+ RUN python -m pip install tqdm
13
+
14
+ RUN apt-get -y install curl
15
+ RUN apt-get install -y ffmpeg
16
+
17
+ RUN apt-get install -y libgl1-mesa-glx
18
+ RUN apt-get install -y libglib2.0-0
19
+ RUN apt-get install -y build-essential
20
+ RUN apt-get install -y ninja-build
21
+
22
+ RUN python -m pip install opencv-python==4.10.0.84
23
+ RUN python -m pip install matplotlib
24
+ RUN python -m pip install decord
25
 
26
  # Create virtualenv
27
  RUN python3 -m venv /opt/venv