forked from cesare-corrado/meshtools3d
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (22 loc) · 1 KB
/
Dockerfile
File metadata and controls
32 lines (22 loc) · 1 KB
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
FROM alonsojasl/ubuntu-cemrg:base
LABEL maintainer="Jose Alonso Solis-Lemus <jose.solislemus@kcl.ac.uk>"
LABEL Description="MeshTools3D executables"
# CGAL4.8.2 in: /installs/cgal4.8.2-build/release
# Eigen headers in: /installs/Eigen-install
# Boost installed in: /installs/boost_1_65_0/build/
# CMake installed in: /installs/cmake-master/bin/cmake
COPY . /dependencies/meshtools3D_release
RUN mkdir -p /installs/meshtools3D_build
RUN cd /installs/meshtools3D_build && \
/installs/cmake-master/bin/cmake \
-DCGAL_DIR=/installs/cgal4.8.2-build/release \
-DBOOST_ROOT=/installs/boost_1_65_0/build/ \
-DBoost_NO_BOOST_CMAKE=ON \
/dependencies/meshtools3D_release
RUN cd /installs/meshtools3D_build && make
RUN rm -rf /dependencies
COPY ./dockerM3D.sh /installs/meshtools3D_build/dockerM3D.sh
RUN chmod +x /installs/meshtools3D_build/dockerM3D.sh
# ENTRYPOINT ["/installs/meshtools3D_build/meshtools3d"]
ENTRYPOINT ["/installs/meshtools3D_build/dockerM3D.sh"]
WORKDIR /data