This commit is contained in:
		
							parent
							
								
									1e29ae0adf
								
							
						
					
					
						commit
						4febf93f57
					
				|  | @ -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 & repo-health-checker & teapot-checker | # install joj3 & repo-health-checker | ||||||
| COPY bin/joj3 bin/repo-health-checker bin/teapot-checker /usr/local/bin/ | COPY bin/joj3 bin/repo-health-checker /usr/local/bin/ | ||||||
| 
 | 
 | ||||||
| USER student | USER student | ||||||
| WORKDIR /home/student | WORKDIR /home/student | ||||||
|  |  | ||||||
							
								
								
									
										8
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								Makefile
									
									
									
									
									
								
							|  | @ -7,10 +7,10 @@ all: build | ||||||
| prepare: | prepare: | ||||||
| 	git submodule update --init --remote | 	git submodule update --init --remote | ||||||
| 	$(MAKE) -C JOJ3 | 	$(MAKE) -C JOJ3 | ||||||
| 	cp JOJ3/build/joj3 JOJ3/build/repo-health-checker JOJ3/build/teapot-checker bin/ | 	cp JOJ3/build/joj3 JOJ3/build/repo-health-checker | ||||||
| 	# ls -lha bin | 	ls -lha bin | ||||||
| 	# upx --best bin/* | 	upx --best bin/* | ||||||
| 	# ls -lha bin | 	ls -lha bin | ||||||
| 
 | 
 | ||||||
| force-build: prepare | force-build: prepare | ||||||
| 	docker build --no-cache -t $(IMAGE_NAME) . | 	docker build --no-cache -t $(IMAGE_NAME) . | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user