@@ -122,15 +122,13 @@ RUN add-apt-repository -y ppa:fenics-packages/fenics && \
122122USER precice
123123ARG FENICS_ADAPTER_REF
124124# Building fenics-adapter
125- RUN . /home/precice/venv/bin/activate && \
126- pip3 install git+https://github.com/precice/fenics-adapter.git@${FENICS_ADAPTER_REF}
125+ RUN pip3 install git+https://github.com/precice/fenics-adapter.git@${FENICS_ADAPTER_REF}
127126
128127
129128FROM python_bindings AS nutils_adapter
130129USER precice
131130# Installing nutils - There is no adapter
132- RUN . /home/precice/venv/bin/activate && \
133- pip3 install nutils
131+ RUN pip3 install nutils
134132
135133
136134FROM precice_dependecies AS calculix_adapter
@@ -169,7 +167,6 @@ WORKDIR /home/precice
169167RUN wget https://github.com/su2code/SU2/archive/refs/tags/v${SU2_VERSION}.tar.gz && \
170168 tar xvzf v${SU2_VERSION}.tar.gz && \
171169 rm -fv v${SU2_VERSION}.tar.gz
172- RUN . /home/precice/venv/bin/activate
173170ARG SU2_ADAPTER_PR
174171ARG SU2_ADAPTER_REF
175172WORKDIR /home/precice
@@ -213,16 +210,13 @@ WORKDIR /home/precice
213210COPY --from=precice /home/precice/.local/ /home/precice/.local/
214211
215212ARG MICRO_MANAGER_REF
216- RUN python3 -m venv /home/precice/venv && \
217- . /home/precice/venv/bin/activate && \
218- git clone https://github.com/precice/micro-manager.git && \
213+ RUN git clone https://github.com/precice/micro-manager.git && \
219214 cd micro-manager && \
220215 if [ -n "${MICRO_MANAGER_PR}" ]; then git fetch origin pull/${MICRO_MANAGER_PR}/head; fi && \
221216 git checkout ${MICRO_MANAGER_REF} && \
222217 pip3 install .
218+ RUN pip3 install pybind11
223219WORKDIR /home/precice
224- RUN . /home/precice/venv/bin/activate && \
225- pip3 install pybind11
226220
227221FROM micro_manager AS dumux_adapter
228222USER root
0 commit comments