Skip to content

Commit

Permalink
Force nupy version
Browse files Browse the repository at this point in the history
  • Loading branch information
bakpaul committed Jul 10, 2024
1 parent ea0461c commit 69981d1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docker/sofabuilder_fedora/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ ARG PYBIND11_VERSION=2.11.1
# && python2.7 -m pip install "numpy == 1.16.6" "scipy == 1.2.3" "matplotlib == 2.2.5"
#RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py
#RUN python3.10 /tmp/get-pip3.py
RUN python3.10 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
RUN python3.10 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
&& python3.11 /tmp/get-pip3.py \
&& python3.11 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
&& python3.11 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
&& python3.12 /tmp/get-pip3.py \
&& python3.12 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
&& python3.12 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION
ENV PYTHONPATH=""
ENV VM_HAS_ASSIMP="true"
ENV VM_HAS_OPENCASCADE="false"
Expand Down
6 changes: 3 additions & 3 deletions docker/sofabuilder_ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@ RUN curl -L https://bootstrap.pypa.io/pip/2.7/get-pip.py --output /tmp/get-pip2.
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
&& python3.10 /tmp/get-pip3.py \
&& python3.10 -m pip install --upgrade pip \
&& python3.10 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
&& python3.10 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
&& python3.11 /tmp/get-pip3.py \
&& python3.11 -m pip install --upgrade pip \
&& python3.11 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
&& python3.11 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
&& python3.12 /tmp/get-pip3.py \
&& python3.12 -m pip install --upgrade pip \
&& python3.12 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
&& python3.12 -m pip install numpy==1.26.4 scipy matplotlib pybind11==$PYBIND11_VERSION
ENV VM_HAS_ASSIMP="true"
ENV VM_HAS_OPENCASCADE="true"

Expand Down

0 comments on commit 69981d1

Please sign in to comment.