-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
47 lines (42 loc) · 920 Bytes
/
Copy pathDockerfile
File metadata and controls
47 lines (42 loc) · 920 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
38
39
40
41
42
43
44
45
46
47
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
build-essential \
cmake \
git \
ninja-build \
qtbase5-dev \
libfmt-dev \
libcxxopts-dev \
nlohmann-json3-dev \
libvtk9-dev \
libvtk9-qt-dev \
pkg-config \
bison \
flex \
libxmu-dev \
libxi-dev \
libgl-dev \
libxt-dev \
libsm-dev \
libice-dev \
libxext-dev \
libxrender-dev \
libxrandr-dev \
libxcursor-dev \
libxinerama-dev \
libx11-dev \
mesa-common-dev \
freeglut3-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY CMakeLists.txt ./
COPY src ./src
RUN cmake -Bbuild -S. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DVV_ENABLE_WARNINGS=ON \
-DVV_WARNINGS_AS_ERRORS=ON \
-GNinja
RUN cmake --build build --config Release -j$(nproc)
ENTRYPOINT [ "./build/vv" ]