Skip to content

Commit 86a6ac7

Browse files
committed
Install mpi4py and setuptools from APT
1 parent 003f1dc commit 86a6ac7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tools/tests/dockerfiles/ubuntu_2404/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ FROM python_bindings as su2_adapter
135135
COPY --from=precice /home/precice/.local /home/precice/.local
136136
USER root
137137
RUN apt-get -qq update && \
138-
apt-get -qq install swig
138+
apt-get -qq install swig python3-mpi4py python3-setuptools
139139
ARG SU2_VERSION
140140
USER precice
141141

@@ -146,8 +146,7 @@ RUN wget https://github.com/su2code/SU2/archive/refs/tags/v${SU2_VERSION}.tar.gz
146146
tar xvzf v${SU2_VERSION}.tar.gz && \
147147
rm -fv v${SU2_VERSION}.tar.gz
148148
RUN python3 -m venv /home/precice/venv && \
149-
. /home/precice/venv/bin/activate && \
150-
pip3 install mpi4py setuptools
149+
. /home/precice/venv/bin/activate
151150
ARG SU2_ADAPTER_REF
152151
WORKDIR /home/precice
153152
ENV SU2_RUN="/home/precice/SU2_RUN"

0 commit comments

Comments
 (0)