From: Luca Heltai Date: Mon, 27 Dec 2021 15:02:26 +0000 (+0100) Subject: Make sure HOME, WORKDIR, and mpi work correctly on root image. X-Git-Tag: v9.4.0-rc1~696^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9ae2d862cb1fa84844f65ebae37280e209fa91c;p=dealii.git Make sure HOME, WORKDIR, and mpi work correctly on root image. --- diff --git a/contrib/docker/Dockerfile.root b/contrib/docker/Dockerfile.root index 3ad752a69a..7afea5b641 100644 --- a/contrib/docker/Dockerfile.root +++ b/contrib/docker/Dockerfile.root @@ -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