]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make sure HOME, WORKDIR, and mpi work correctly on root image.
authorLuca Heltai <luca.heltai@sissa.it>
Mon, 27 Dec 2021 15:02:26 +0000 (16:02 +0100)
committerLuca Heltai <luca.heltai@sissa.it>
Mon, 27 Dec 2021 15:02:26 +0000 (16:02 +0100)
contrib/docker/Dockerfile.root

index 3ad752a69a2eeb18829763dc38b7926148988543..7afea5b641053cad1c69dd613b9c8e8eba6ed660 100644 (file)
@@ -1,5 +1,9 @@
 FROM dealii/dealii:master-focal
 
-LABEL maintainer="luca.heltai@gmail.com"
-
 USER root
+
+ENV HOME /root
+
+WORKDIR /root
+
+ENV OMPI_ALLOW_RUN_AS_ROOT 1

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.