From cc52babc4324f9bd66cae93c53dfbd8cdca0b241 Mon Sep 17 00:00:00 2001 From: Boming Zhang Date: Sun, 1 Jun 2025 10:45:51 -0400 Subject: [PATCH] fix: use gitea install --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c95d52c..2c9ff66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,10 +14,9 @@ RUN sed -i s@/deb.debian.org/@/mirrors.tuna.tsinghua.edu.cn/@g /etc/apt/sources. echo "student ALL=(tt) NOPASSWD:SETENV:/usr/local/bin/joj3,/usr/local/bin/joj3-forge-convert\ntt ALL=(student) NOPASSWD:SETENV:ALL" > /etc/sudoers.d/joj # install joint-teapot && joj3-forge -# TODO: change it to FOCS gitea mirror for deployment RUN pip install --no-cache-dir --break-system-packages \ - git+https://focs.ji.sjtu.edu.cn/git/joint-online-judge/Joint-Teapot \ - git+https://focs.ji.sjtu.edu.cn/git/joint-online-judge/JOJ3-config-generator + git+https://focs.ji.sjtu.edu.cn/git/JOJ/Joint-Teapot \ + git+https://focs.ji.sjtu.edu.cn/git/JOJ/JOJ3-config-generator # install joj3 & repo-health-checker & joj3-forge-convert COPY bin/joj3 bin/repo-health-checker bin/joj3-forge-convert /usr/local/bin/