From d3a7fd65076e9ac6300961d646990d4e7d1f8b0e Mon Sep 17 00:00:00 2001 From: Moritz Maxeiner <mm@ucw.sh> Date: Fri, 17 Jan 2020 01:09:14 +0100 Subject: [PATCH] centos-7: Add CGAL 4.14.2 --- centos-7/Dockerfile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/centos-7/Dockerfile b/centos-7/Dockerfile index 22e968a..88a7fbe 100644 --- a/centos-7/Dockerfile +++ b/centos-7/Dockerfile @@ -288,6 +288,27 @@ RUN version=5.2.0.13457 && \ rm -rf pylon-${version}* ADD bash/pylon.sh /etc/profile.d/pylon.sh +# CGAL +RUN version=4.14.2 && \ + yum install -y \ + gmp-devel \ + mpfs-devel \ + && \ + yum clean all && \ + source /etc/profile && \ + cd /tmp && \ + curl -sSLO https://github.com/CGAL/cgal/releases/download/releases/CGAL-${version}/CGAL-${version}.tar.xz && \ + tar -xf CGAL-${version}-x86_64.tar.xz && \ + cd CGAL-${version}-x86_64 && \ + cmake -S. -B build -G Ninja \ + -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local \ + -DCGAL_HEADER_ONLY=ON \ + -DWITH_CGAL_Qt5=ON \ + && \ + ninja -C build install && \ + cd .. && \ + rm -rf CGAL-${version}* + # SSL access to custom pypiserver ADD agki-nas01.imp.fu-berlin.de-ca-cert.crt /etc/pki/ca-trust/source/anchors/agki-nas01.imp.fu-berlin.de-ca-cert.crt RUN update-ca-trust -- GitLab