From 41ea59998d1e4b876f727e36f55eccd64377d64b Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Thu, 16 Jan 2025 16:45:52 -0700 Subject: [PATCH] debug II --- fedora | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fedora b/fedora index 2fe2d3d..696c02d 100644 --- a/fedora +++ b/fedora @@ -33,8 +33,9 @@ RUN if [ "${INTEL}" = "yes" ]; then \ fi RUN useradd -m -G wheel -u 1001 votca -RUN echo '%wheel ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers +RUN sed -i -e '/[^#].*wheel/s/^/# /' -e /wheel.*NOPASSWD/s/^# //' /etc/sudoers RUN cat /etc/sudoers + USER votca ENV PATH=/usr/lib64/openmpi/bin${PATH:+:}${PATH} ENV PATH=${INTEL:+/opt/intel/oneapi/compiler/latest/bin}${PATH:+:}${PATH}