-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
111 lines (105 loc) · 2.12 KB
/
Dockerfile
File metadata and controls
111 lines (105 loc) · 2.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# Use CUDA 12.8 base image
FROM nvidia/cuda:12.8.1-devel-ubuntu24.04
# Path to the OpenArmLab directory
ARG OPENARMLAB_PATH_ARG
ENV OPENARMLAB_PATH=${OPENARMLAB_PATH_ARG}
# Set environment variables
ENV DEBIAN_FRONTEND=noninteractive \
PYTHONUNBUFFERED=1 \
CUDA_HOME=/usr/local/cuda \
PATH=/root/.local/bin:$PATH \
TZ=Asia/Tokyo
# Install all system dependencies
RUN apt-get update && apt-get install -y \
autoconf \
autoconf-archive \
automake \
bison \
build-essential \
ca-certificates \
cmake \
cmake-curses-gui \
cmake-gui \
curl \
dpkg-dev \
ffmpeg \
flex \
freeglut3-dev \
g++-10 \
gcc-10 \
gettext \
git \
gperf \
gpg \
libatlas-base-dev \
libceres-dev \
libcgal-dev \
libcgal-qt5-dev \
libdbus-1-3 \
libegl1 \
libeigen3-dev \
libflann-dev \
libfontconfig1 \
libfreeimage-dev \
libfreetype6 \
libgflags-dev \
libgl1 \
libgl1-mesa-dev \
libgles2-mesa-dev \
libglew-dev \
libglfw3-dev \
libglib2.0-0 \
libglu1-mesa-dev \
libgomp1 \
libgoogle-glog-dev \
libgtest-dev \
libjpeg-dev \
libmetis-dev \
libnanoflann-dev \
libopengl0 \
libopencv-dev \
libpng-dev \
libqt5opengl5-dev \
libsm6 \
libsqlite3-dev \
libsuitesparse-dev \
libtbb-dev \
libtiff-dev \
libtool \
libx11-6 \
libx11-dev \
libxcb-icccm4 \
libxcb-image0 \
libxcb-keysyms1 \
libxcb-randr0 \
libxcb-render-util0 \
libxcb-render0 \
libxcb-shape0 \
libxcb-shm0 \
libxcb-xfixes0 \
libxcb-xinerama0 \
libxcb-xkb1 \
libxcb1 \
libxext-dev \
libxext6 \
libxkbcommon-x11-0 \
libxkbcommon0 \
libxrender-dev \
libxrender1 \
libxt-dev \
m4 \
meson \
pkg-config \
tar \
unzip \
vulkan-tools \
wget \
zip \
zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
# Install uv (Python package/dependency manager)
RUN curl -fsSL https://astral.sh/uv/install.sh | sh
# Set working directory
WORKDIR ${OPENARMLAB_PATH}
# Set default command to bash
CMD ["/bin/bash"]