diff --git a/src/3.8/Dockerfile b/src/3.8/Dockerfile index 29fc7a3..8427e77 100644 --- a/src/3.8/Dockerfile +++ b/src/3.8/Dockerfile @@ -10,7 +10,9 @@ ARG CXX_FLAGS="-pedantic -Wextra -Wno-unknown-pragmas -D_GLIBCXX_ASSERTIONS" ENV TERM=xterm \ TZ=Europe/Berlin \ DEBIAN_FRONTEND=noninteractive \ - PATH=/root/.local/bin:${PATH} + PATH=/root/.local/bin:${PATH} \ + OMPI_ALLOW_RUN_AS_ROOT=1 \ + OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 RUN apt-get update && apt-get install -y --no-install-recommends \ automake \ diff --git a/src/dev/Dockerfile b/src/dev/Dockerfile index 4d970f8..c12622e 100644 --- a/src/dev/Dockerfile +++ b/src/dev/Dockerfile @@ -10,7 +10,9 @@ ARG CXX_FLAGS="-pedantic -Wextra -Wno-unknown-pragmas -D_GLIBCXX_ASSERTIONS" ENV TERM=xterm \ TZ=Europe/Berlin \ DEBIAN_FRONTEND=noninteractive \ - PATH=/root/.local/bin:${PATH} + PATH=/root/.local/bin:${PATH} \ + OMPI_ALLOW_RUN_AS_ROOT=1 \ + OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1 RUN apt-get update && apt-get install -y --no-install-recommends \ automake \