From 16730d5d1ef57ea209f02b132fe3adc499d9ccd8 Mon Sep 17 00:00:00 2001 From: Xtao_dada Date: Sat, 17 Apr 2021 22:22:27 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Fix=20docker=20automatic=20updat?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c2a3e25..1245b81 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,7 +42,7 @@ RUN ln -sf /usr/bin/python3 /usr/bin/python \ && python -m pip install --upgrade pip \ && pip install wheel \ && pip install eyed3 pycryptodome -RUN sed -e 's;^# \(%wheel.*NOPASSWD.*\);\1;g' -i /etc/sudoers +RUN sed -e 's;^# \(%sudo.*NOPASSWD.*\);\1;g' -i /etc/sudoers RUN useradd pagermaid -r -m -d /pagermaid RUN usermod -aG sudo,users pagermaid USER pagermaid