fix: use gitea install
Some checks failed
push / build (push) Failing after 4m54s

This commit is contained in:
张泊明518370910136 2025-06-01 10:45:51 -04:00
parent e7156abb55
commit cc52babc43
GPG Key ID: CA088E6D9284F870

View File

@ -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 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 # install joint-teapot && joj3-forge
# TODO: change it to FOCS gitea mirror for deployment
RUN pip install --no-cache-dir --break-system-packages \ 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/JOJ/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/JOJ3-config-generator
# install joj3 & repo-health-checker & joj3-forge-convert # install joj3 & repo-health-checker & joj3-forge-convert
COPY bin/joj3 bin/repo-health-checker bin/joj3-forge-convert /usr/local/bin/ COPY bin/joj3 bin/repo-health-checker bin/joj3-forge-convert /usr/local/bin/