Skip to content

Commit

Permalink
fix sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-morse-plastic committed Mar 27, 2024
1 parent d83ca44 commit d3bb85b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion username-1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d3bb85b

Please sign in to comment.