From 35c9e19e90f9f9e24ada99c9451bbaf3097cccbd Mon Sep 17 00:00:00 2001 From: Boming Zhang Date: Mon, 7 Oct 2024 01:55:49 -0400 Subject: [PATCH] feat: allow set env --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 51b2f99..f17427f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN apt-get update && \ useradd -u 1000 -ms /bin/bash tt && \ useradd -u 1001 -ms /bin/bash student && \ usermod -aG student tt && \ - echo "student ALL=(tt) NOPASSWD:/usr/local/bin/joj3\nstudent ALL=(tt) NOPASSWD:/usr/local/bin/joj3-teapot" > /etc/sudoers.d/joj + echo "student ALL=(tt) NOPASSWD:SETENV:/usr/local/bin/joj3\nstudent ALL=(tt) NOPASSWD:SETENV:/usr/local/bin/joj3-teapot" > /etc/sudoers.d/joj # install joint-teapot # TODO: change it to FOCS gitea mirror for deployment