diff --git a/Dockerfile b/Dockerfile index 4818439..407d1c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN apt-get update && \ rm -rf /var/lib/apt/lists/* && \ useradd -u 1000 -ms /bin/bash tt && \ useradd -u 1001 -ms /bin/bash student && \ - echo "student ALL=(tt) /usr/local/bin/joj3" > /etc/sudoers.d/joj + echo "student ALL=(tt) NOPASSWD:/usr/local/bin/joj3" > /etc/sudoers.d/joj # install joint-teapot # TODO: change it to FOCS gitea mirror for deployment