auto-sync: 2026-04-11 21:58:43

This commit is contained in:
cfdaily
2026-04-11 21:58:43 +08:00
parent c80b353666
commit 9bda15d400
3 changed files with 10 additions and 1 deletions
+3
View File
@@ -64210,3 +64210,6 @@ fatal: refusing to merge unrelated histories
/bin/sh: ./management/sanguo_auto_sync/auto-sync.sh: No such file or directory
/bin/sh: ./management/sanguo_auto_sync/auto-sync.sh: No such file or directory
/bin/sh: ./management/sanguo_auto_sync/auto-sync.sh: No such file or directory
/bin/sh: ./management/sanguo_auto_sync/auto-sync.sh: No such file or directory
/bin/sh: ./management/sanguo_auto_sync/auto-sync.sh: No such file or directory
/bin/sh: ./management/sanguo_auto_sync/auto-sync.sh: No such file or directory
+5 -1
View File
@@ -56,7 +56,11 @@ RUN pip install --no-cache-dir -r requirements-base.txt
COPY docker/requirements/requirements-extra.txt .
RUN pip install --no-cache-dir -r requirements-extra.txt
RUN curl -fsSL https://code-server.dev/install.sh | sh
# 直接下载 code-server 二进制版本,更稳定
RUN curl -fSL https://github.com/coder/code-server/releases/download/v4.96.1/code-server-4.96.1-linux-arm64.tar.gz | tar xz -C /tmp && \
mv /tmp/code-server-4.96.1-linux-arm64/bin/code-server /usr/local/bin/ && \
mv /tmp/code-server-4.96.1-linux-arm64/lib/code-server /usr/local/lib/ && \
rm -rf /tmp/code-server-*
RUN useradd -m -u 1000 vnpy && echo "vnpy ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && mkdir -p /home/vnpy/.ssh && chown -R vnpy:vnpy /home/vnpy /app && chmod 700 /home/vnpy/.ssh
+2
View File
@@ -4,3 +4,5 @@