👷 Fix docker automatic update

This commit is contained in:
Xtao_dada 2021-04-17 21:24:48 +08:00 committed by GitHub
parent 4b3e495f21
commit db202b8355
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ RUN ln -sf /usr/bin/python3 /usr/bin/python \
&& pip install eyed3 pycryptodome && pip install eyed3 pycryptodome
RUN sed -e 's;^# \(%wheel.*NOPASSWD.*\);\1;g' -i /etc/sudoers RUN sed -e 's;^# \(%wheel.*NOPASSWD.*\);\1;g' -i /etc/sudoers
RUN useradd pagermaid -r -m -d /pagermaid RUN useradd pagermaid -r -m -d /pagermaid
RUN usermod -aG wheel,users pagermaid RUN usermod -aG sudo,users pagermaid
USER pagermaid USER pagermaid
RUN mkdir /pagermaid RUN mkdir /pagermaid
RUN git clone -b master https://github.com/Xtao-Labs/PagerMaid-Modify.git /pagermaid RUN git clone -b master https://github.com/Xtao-Labs/PagerMaid-Modify.git /pagermaid