👷 Fix docker automatic update

This commit is contained in:
Xtao_dada 2021-04-17 22:30:48 +08:00 committed by GitHub
parent 16730d5d1e
commit c9c3cc5dd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;^# \(%sudo.*NOPASSWD.*\);\1;g' -i /etc/sudoers
RUN echo "pagermaid ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/pagermaid
RUN useradd pagermaid -r -m -d /pagermaid
RUN usermod -aG sudo,users pagermaid
USER pagermaid