diff --git a/models/achlys/Dockerfile b/models/achlys/Dockerfile index fd8137a..a70a90a 100644 --- a/models/achlys/Dockerfile +++ b/models/achlys/Dockerfile @@ -1,4 +1,4 @@ -FROM linusseelinger/achlys-ubuntu +FROM achlys-ubuntu RUN apt update && apt install -y inotify-tools && \ rm -rf /var/lib/apt/lists/* diff --git a/models/l2-sea/Dockerfile b/models/l2-sea/Dockerfile index 37468b9..02dbc8b 100644 --- a/models/l2-sea/Dockerfile +++ b/models/l2-sea/Dockerfile @@ -1,7 +1,8 @@ FROM ubuntu:latest RUN apt update && \ - DEBIAN_FRONTEND="noninteractive" apt install -y python3-pip gfortran liblapack-dev libblas-dev libomp-dev git && \ + DEBIAN_FRONTEND="noninteractive" apt install -y python3-pip python3-venv gfortran liblapack-dev libblas-dev libomp-dev git && \ + python3 -m venv venv && . venv/bin/activate && \ pip install umbridge f90nml RUN git clone https://github.com/MAORG-CNR-INM/NATO-AVT-331-L2-Sea-Benchmark.git @@ -15,4 +16,5 @@ RUN mkdir -p /NATO-AVT-331-L2-Sea-Benchmark/examples/DTMB-5415/CPU000 && ln -s / COPY umbridge-server.py / CMD ulimit -s unlimited && \ + . venv/bin/activate && \ python3 umbridge-server.py