forked from educelab/volume-cartographer
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
23 lines (20 loc) · 790 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM ghcr.io/educelab/ci-docker:11_v2.dynamic
MAINTAINER Seth Parker <[email protected]>
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y libsdl2-dev libgsl-dev
# Install volcart
COPY ./ /volume-cartographer-papyrus/
RUN export CMAKE_PREFIX_PATH="/usr/local/Qt-6.4.2/" \
&& cmake \
-S /volume-cartographer-papyrus/ \
-B /volume-cartographer-papyrus/build/ \
-GNinja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_RPATH=/usr/local/Qt-6.4.2/lib \
-DSDL2_DIR=/usr/lib/x86_64-linux-gnu/ \
-DVC_BUILD_ACVD=ON \
&& cmake --build /volume-cartographer-papyrus/build/ \
&& cmake --install /volume-cartographer-papyrus/build/ \
&& rm -rf /volume-cartographer-papyrus/
# Start an interactive shell
CMD ["/bin/bash"]