-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea5140f
commit f7cbe76
Showing
2 changed files
with
31 additions
and
1 deletion.
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,27 @@ | ||
FROM fluidity/baseimages:jammy | ||
|
||
USER root | ||
|
||
RUN apt-get -y update && \ | ||
apt-get -y dist-upgrade && \ | ||
apt-get -y install sudo && \ | ||
rm -rf /var/cache/apt/archives && \ | ||
rm -rf /var/lib/apt/lists | ||
|
||
RUN adduser fluidity sudo | ||
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers | ||
|
||
COPY . /home/fluidity | ||
RUN chown -R fluidity /home/fluidity | ||
|
||
USER fluidity | ||
|
||
RUN ./configure --enable-2d-adaptivity --enable-omp | ||
RUN make makefiles | ||
RUN test -z "$(git status --porcelain */Makefile.dependencies)" | ||
RUN make | ||
RUN make fltools | ||
RUN make manual | ||
|
||
# Python module 'assess' is required for some longtests | ||
RUN python3 -m pip install assess |