feat: init image
This commit is contained in:
		
							parent
							
								
									64a3792140
								
							
						
					
					
						commit
						7e6824b299
					
				
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1 @@
 | 
				
			||||||
 | 
					/bin/
 | 
				
			||||||
							
								
								
									
										21
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										21
									
								
								Dockerfile
									
									
									
									
									
								
							| 
						 | 
					@ -2,6 +2,21 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
FROM focs.ji.sjtu.edu.cn:5000/gitea/runner-images:ubuntu-latest
 | 
					FROM focs.ji.sjtu.edu.cn:5000/gitea/runner-images:ubuntu-latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# TODO: install joj3 & other binarys
 | 
					# install elm
 | 
				
			||||||
# TODO: install joint-teapot
 | 
					RUN curl -L -o elm.gz https://mirror.ghproxy.com/https://github.com/elm/compiler/releases/download/0.19.1/binary-for-linux-64-bit.gz \
 | 
				
			||||||
# TODO: install elf
 | 
					    && gunzip elm.gz \
 | 
				
			||||||
 | 
					    && chmod +x elm \
 | 
				
			||||||
 | 
					    && mv elm /usr/local/bin/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# install elm-format
 | 
				
			||||||
 | 
					RUN curl -L -o elm-format.tgz https://mirror.ghproxy.com/https://github.com/avh4/elm-format/releases/download/0.8.7/elm-format-0.8.7-linux-x64.tgz \
 | 
				
			||||||
 | 
					    && tar -xvf elm-format.tgz \
 | 
				
			||||||
 | 
					    && chmod +x elm-format \
 | 
				
			||||||
 | 
					    && mv elm-format /usr/local/bin/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# install joint-teapot
 | 
				
			||||||
 | 
					RUN pip install git+https://mirror.ghproxy.com/https://github.com/BoYanZh/Joint-Teapot
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# TODO: install elf & joj3 & other binarys
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					COPY bin/* /usr/local/bin/
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										6
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								Makefile
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,6 @@
 | 
				
			||||||
 | 
					.PHONY: all build
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					all: build
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					build:
 | 
				
			||||||
 | 
						docker build -t focs.ji.sjtu.edu.cn:5000/gitea/runner-images:focs-ubuntu-latest .
 | 
				
			||||||
| 
						 | 
					@ -3,3 +3,7 @@
 | 
				
			||||||
FOCS docker images used by [act_runner](https://gitea.com/gitea/act_runner) to run workflows.
 | 
					FOCS docker images used by [act_runner](https://gitea.com/gitea/act_runner) to run workflows.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Check <https://gitea.com/gitea/runner-images> for information about base images.
 | 
					Check <https://gitea.com/gitea/runner-images> for information about base images.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					## `/bin` directory
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Currently, we have placed various binary files in the `/bin` directory that cannot be publicly downloaded. These files include `dummy`, `elf`, `healthcheck`, and `joj3` for now.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user