-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (29 loc) · 761 Bytes
/
Copy pathDockerfile
File metadata and controls
34 lines (29 loc) · 761 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
FROM ubuntu:24.04
# Install build tools and dependencies for OpenGL GUI
RUN apt-get update && \
apt-get install -y \
ninja-build \
build-essential \
cmake \
git \
libgl1-mesa-dev \
libx11-dev \
libxrandr-dev \
libxinerama-dev \
libxcursor-dev \
libxi-dev \
libglu1-mesa-dev \
doxygen \
pkg-config \
wget && \
rm -rf /var/lib/apt/lists/*
# Set the working directory in the container
WORKDIR /app
# Copy all project files to the container
COPY . .
# Configure and build the project
RUN cmake -S . -B build -G Ninja
RUN cmake --build build
# Set up the default command
ENTRYPOINT ["build/NavStream"]
CMD []