👷 Fix docker automatic update

This commit is contained in:
Xtao_dada 2021-04-17 22:22:27 +08:00 committed by GitHub
parent 83bc1075f7
commit 16730d5d1e
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 \ && python -m pip install --upgrade pip \
&& pip install wheel \ && pip install wheel \
&& pip install eyed3 pycryptodome && 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 useradd pagermaid -r -m -d /pagermaid
RUN usermod -aG sudo,users pagermaid RUN usermod -aG sudo,users pagermaid
USER pagermaid USER pagermaid