Created
March 19, 2021 10:34
-
-
Save VincentRouvreau/51417f773363edfd12ef73fcbc6fc219 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM fedora:33 | |
# Upgrade distribution | |
RUN dnf upgrade -y | |
# Tools necessary for installing and configuring Ubuntu | |
RUN dnf install -y g++ cmake python3 boost-devel eigen3-devel gmp-devel CGAL-devel python3-devel python3-pip python3-tkinter python3-pybind11 \ | |
&& dnf clean all \ | |
&& rm -rf /var/cache/yum | |
RUN pip3 install --user numpy Cython | |
ARG GUDHI_VERSION="3.4.1" | |
RUN curl -LO "https://github.com/GUDHI/gudhi-devel/releases/download/tags%2Fgudhi-release-${GUDHI_VERSION}/gudhi.${GUDHI_VERSION}.tar.gz" \ | |
&& tar xf gudhi.${GUDHI_VERSION}.tar.gz \ | |
&& cd gudhi.${GUDHI_VERSION} \ | |
&& mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Release -DWITH_GUDHI_PYTHON=ON -DPython_ADDITIONAL_VERSIONS=3 .. \ | |
&& cd python \ | |
&& python3 setup.py install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment