@@ -62,19 +62,14 @@ RUN yum install -y -q \
6262
6363# Install pip, numpy, scipy, pybind11
6464ARG PYBIND11_VERSION=2.11.1
65- # RUN curl -L https://bootstrap.pypa.io/pip/2.7/get-pip.py --output /tmp/get-pip2.py \
66- # && python2.7 /tmp/get-pip2.py \
67- # && python2.7 -m pip install --upgrade "pip == 20.3.4" \
68- # && python2.7 -m pip install "numpy == 1.16.6" "scipy == 1.2.3" "matplotlib == 2.2.5"
69- # RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py
70- # RUN python3.10 /tmp/get-pip3.py
71- RUN python3.10 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION rpyc prettytable Cheetah3
65+ RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
66+ && python3.10 /tmp/get-pip3.py \
67+ && python3.10 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION mypy pybind11-stubgen rpyc prettytable Cheetah3
7268RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
7369 && python3.11 /tmp/get-pip3.py \
7470 && python3.11 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION rpyc prettytable Cheetah3
75- RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
76- && python3.12 /tmp/get-pip3.py \
77- && python3.12 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION rpyc prettytable Cheetah3
71+ RUN python3.12 -m ensurepip --upgrade \
72+ && python3.12 -m pip install numpy==1.26.4
7873ENV PYTHONPATH=""
7974ENV VM_HAS_ASSIMP="true"
8075ENV VM_HAS_OPENCASCADE="false"
@@ -87,19 +82,6 @@ ADD https://github.com/Kitware/CMake/releases/download/v$CMAKE_VERSION/cmake-$CM
8782RUN chmod a+x /tmp/cmake.sh
8883RUN /tmp/cmake.sh --skip-license --prefix=/usr/local
8984
90- # Install Qt
91- ARG QT_VERSION=5.12.12
92- ARG QT_INSTALLDIR="/opt/Qt"
93- RUN python3.10 -m pip install aqtinstall \
94- && python3.10 -m aqt install-qt --outputdir $QT_INSTALLDIR linux desktop $QT_VERSION gcc_64 -m qtcharts qtwebengine
95- RUN yum install -y -q libxkbcommon-x11 libwayland-cursor xcb-util-* \
96- && python3.10 -m aqt install-tool --outputdir $QT_INSTALLDIR linux desktop tools_ifw \
97- || true
98- ENV QT_INSTALLDIR="$QT_INSTALLDIR"
99- ENV QTDIR="$QT_INSTALLDIR/$QT_VERSION/gcc_64"
100- ENV LD_LIBRARY_PATH="$QTDIR/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}"
101- ENV PATH="$QTDIR/bin${PATH:+:${PATH}}"
102-
10385# Install Boost
10486RUN yum install -y -q boost-devel
10587ENV BOOST_INCLUDEDIR="/usr/include"
@@ -122,14 +104,6 @@ RUN tar -xJf /tmp/CGAL.tar.xz --directory /tmp \
122104ENV VM_HAS_CGAL="true"
123105ENV VM_CGAL_PATH="/usr/local/lib64/cmake/CGAL"
124106
125-
126- # Install METIS
127- # RUN git clone https://github.com/sofa-framework/METIS.git \
128- # && cd METIS \
129- # && git checkout v5.2.1-ModernInstall \
130- # && cd .. && mkdir build && cd build \
131- # && cmake ../METIS \
132- # && make --silent install -j 5
133107# ##################################
134108
135109# Disable core dumps
0 commit comments