forked from schillij95/volume-cartographer-papyrus
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile
27 lines (24 loc) · 935 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
24
25
26
27
FROM ghcr.io/educelab/ci-docker:dynamic.12.0
MAINTAINER Seth Parker <[email protected]>
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y libsdl2-dev libgsl-dev locales
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
# Install volcart
COPY ./ /volume-cartographer/
RUN export CMAKE_PREFIX_PATH="/usr/local/Qt-6.6.1/" \
&& cmake \
-S /volume-cartographer/ \
-B /volume-cartographer/build/ \
-GNinja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_RPATH=/usr/local/Qt-6.6.1/lib \
-DSDL2_DIR=/usr/lib/x86_64-linux-gnu/ \
-DVC_BUILD_ACVD=ON \
&& cmake --build /volume-cartographer/build/ \
&& cmake --install /volume-cartographer/build/ \
&& rm -rf /volume-cartographer/
# Start an interactive shell
ENTRYPOINT export QT_PLUGIN_PATH=/usr/local/Qt-6.6.1/plugins && /bin/bash