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}