Spaces:
Building
on
A10G
Building
on
A10G
Create Dockerfile
Browse files- Dockerfile +36 -0
Dockerfile
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM nvcr.io/nvidia/pytorch:24.01-py3
|
2 |
+
|
3 |
+
# 安装系统依赖
|
4 |
+
RUN apt-get update && \
|
5 |
+
apt-get install -y \
|
6 |
+
wget \
|
7 |
+
git \
|
8 |
+
gnutls-bin \
|
9 |
+
openssh-client \
|
10 |
+
libghc-x11-dev \
|
11 |
+
gcc-multilib \
|
12 |
+
g++-multilib \
|
13 |
+
libglew-dev \
|
14 |
+
libosmesa6-dev \
|
15 |
+
libgl1-mesa-glx \
|
16 |
+
libglfw3 \
|
17 |
+
xvfb \
|
18 |
+
mesa-utils \
|
19 |
+
libegl1-mesa \
|
20 |
+
libgl1-mesa-dev \
|
21 |
+
libglu1-mesa-dev \
|
22 |
+
libglib2.0-0 \
|
23 |
+
libsm6 \
|
24 |
+
libxrender1 \
|
25 |
+
libxext6 \
|
26 |
+
unzip
|
27 |
+
|
28 |
+
WORKDIR /app
|
29 |
+
RUN git clone https://github.com/CraftJarvis/ROCKET-1.git && \
|
30 |
+
cd ROCKET-1 && \
|
31 |
+
git pull && \
|
32 |
+
python -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip && \
|
33 |
+
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -e .
|
34 |
+
|
35 |
+
RUN cd rocket/realtime_sam && \
|
36 |
+
pip install -e .
|