-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathDockerfile
More file actions
37 lines (30 loc) · 825 Bytes
/
Dockerfile
File metadata and controls
37 lines (30 loc) · 825 Bytes
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
FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
# Update package lists and install system dependencies
# We use apt-get for consistency and include packages for:
# - Build tools (build-essential, cmake)
# - Download/extraction (wget, unzip, curl, git)
# - Python environment (python3, python3-venv, python3-pip) for the dataset downloader
# - Library dependencies (OpenCV, Eigen3)
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
cmake \
wget \
unzip \
curl \
git \
python3 \
python3-venv \
python3-pip \
python3-dev \
libopencv-dev \
libeigen3-dev \
file \
ca-certificates \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY . .
RUN mkdir -p build
WORKDIR /app/build
RUN cmake .. && make -j$(nproc)
CMD ["/bin/bash"]