-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
benjaminrodenberg/fenics
for CI stage "Build and Test" (#174)
* Add dockerfile used for `benjaminrodenberg/fenics` * Use `pip install --break-system-packages ...`.
- Loading branch information
1 parent
f3abeb0
commit 6350747
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Dockerfile to build a ubuntu image containing the installed Debian package of a release | ||
FROM ubuntu:24.04 | ||
|
||
# Add the precice user to run test with mpi | ||
RUN useradd -m -s /bin/bash precice | ||
ENV PRECICE_USER=precice | ||
|
||
# Installing necessary dependencies | ||
RUN apt-get -qq update && \ | ||
apt-get -qq install software-properties-common && \ | ||
add-apt-repository -y ppa:fenics-packages/fenics && \ | ||
apt-get -qq update && \ | ||
apt-get -qq install --no-install-recommends fenics python3-pip && \ | ||
rm -rf /var/lib/apt/lists/* |