From d3bb85b0e2c2816262627eb8d50ecf76bffba188 Mon Sep 17 00:00:00 2001 From: Ben Morse Date: Tue, 26 Mar 2024 17:52:46 -0700 Subject: [PATCH] fix sudo --- username-1/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/username-1/Dockerfile b/username-1/Dockerfile index 172c8e0..838f99d 100644 --- a/username-1/Dockerfile +++ b/username-1/Dockerfile @@ -15,7 +15,8 @@ ENV HOME=/home/${username} RUN sudo groupadd -g 127 docker # RUN sudo useradd -u 1001 -g 127 -c ' ' -m -d /home/runner -s /bin/bash runner -RUN sudo useradd -u 1001 -g 127 -ms /bin/bash runner +# RUN sudo useradd -u 1001 -g 127 -ms /bin/bash runner +RUN sudo useradd -u 1001 -ms /bin/bash runner RUN echo "%runner ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers RUN usermod -aG docker github