Skip to content

Commit

Permalink
Merge pull request #74 from UM-Bridge/CI-fix
Browse files Browse the repository at this point in the history
Add missing venv and update achlys dockerfile
  • Loading branch information
chun9l authored May 17, 2024
2 parents 0075f73 + 9730710 commit 41ed2c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion models/achlys/Dockerfile
Original file line number Diff line number Diff line change
@@ -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/*
Expand Down
4 changes: 3 additions & 1 deletion models/l2-sea/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit 41ed2c0

Please sign in to comment.