feat: copy repo-health-checker to image
All checks were successful
push / build (push) Successful in 39s

This commit is contained in:
张泊明518370910136 2024-10-13 22:35:31 -04:00
parent 6b98822821
commit 21ae19df05
GPG Key ID: CA088E6D9284F870
2 changed files with 3 additions and 3 deletions

View File

@ -17,8 +17,8 @@ RUN sed -i s@/deb.debian.org/@/mirrors.tuna.tsinghua.edu.cn/@g /etc/apt/sources.
# TODO: change it to FOCS gitea mirror for deployment # TODO: change it to FOCS gitea mirror for deployment
RUN pip install git+https://ghp.ci/https://github.com/BoYanZh/Joint-Teapot --break-system-packages RUN pip install git+https://ghp.ci/https://github.com/BoYanZh/Joint-Teapot --break-system-packages
# install joj3 & teapot wrapper # install joj3 & repo-health-checker & teapot wrapper
COPY bin/joj3 bin/joj3-teapot /usr/local/bin/ COPY bin/joj3 bin/repo-health-checker bin/joj3-teapot /usr/local/bin/
USER student USER student
WORKDIR /home/student WORKDIR /home/student

View File

@ -5,7 +5,7 @@ all: build
prepare: prepare:
git submodule update --init --remote git submodule update --init --remote
$(MAKE) -C JOJ3 $(MAKE) -C JOJ3
cp JOJ3/build/joj3 bin/ cp JOJ3/build/joj3 JOJ3/build/repo-health-checker bin/
force-build: prepare force-build: prepare
docker build --no-cache -t focs.ji.sjtu.edu.cn:5000/gitea/runner-images:focs-ubuntu-latest-slim . docker build --no-cache -t focs.ji.sjtu.edu.cn:5000/gitea/runner-images:focs-ubuntu-latest-slim .