feat: image with joj3-forge
Some checks failed
push / build (push) Failing after 4m46s

This commit is contained in:
张泊明518370910136 2025-06-01 08:24:40 -04:00
parent f1d7780209
commit 40cfc09d3c
GPG Key ID: CA088E6D9284F870

View File

@ -13,9 +13,11 @@ RUN sed -i s@/deb.debian.org/@/mirrors.tuna.tsinghua.edu.cn/@g /etc/apt/sources.
usermod -aG student tt && \ usermod -aG student tt && \
echo "student ALL=(tt) NOPASSWD:SETENV:/usr/local/bin/joj3\ntt ALL=(student) NOPASSWD:SETENV:ALL" > /etc/sudoers.d/joj echo "student ALL=(tt) NOPASSWD:SETENV:/usr/local/bin/joj3\ntt ALL=(student) NOPASSWD:SETENV:ALL" > /etc/sudoers.d/joj
# install joint-teapot # install joint-teapot && joj3-forge
# TODO: change it to FOCS gitea mirror for deployment # TODO: change it to FOCS gitea mirror for deployment
RUN pip install --no-cache-dir git+https://ghfast.top/https://github.com/BoYanZh/Joint-Teapot --break-system-packages RUN pip install --no-cache-dir --break-system-packages \
git+https://ghfast.top/https://github.com/BoYanZh/Joint-Teapot \
git+https://ghfast.top/https://github.com/joint-online-judge/JOJ3-config-generator
# install joj3 & repo-health-checker # install joj3 & repo-health-checker
COPY bin/joj3 bin/repo-health-checker /usr/local/bin/ COPY bin/joj3 bin/repo-health-checker /usr/local/bin/