mirror of
				https://gitea.com/gitea/tea.git
				synced 2025-10-31 01:05:26 +01:00 
			
		
		
		
	 9de3fc8667
			
		
	
	9de3fc8667
	
	
	
		
			
			This reworks the container to be usable with the Gitea act-runner and connect using TLS. The directory structure is prepared so that a config.yml can be echoed into the container for authentication. Co-authored-by: Pysen X <pysen@svartavillan.se> Co-authored-by: Lunny Xiao <lunny@noreply.gitea.com> Co-authored-by: techknowlogick <techknowlogick@noreply.gitea.com> Reviewed-on: https://gitea.com/gitea/tea/pulls/682 Reviewed-by: Lunny Xiao <lunny@noreply.gitea.com> Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com> Co-authored-by: pysen <pysen@noreply.gitea.com> Co-committed-by: pysen <pysen@noreply.gitea.com>
		
			
				
	
	
		
			13 lines
		
	
	
		
			330 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			330 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM docker.io/chainguard/go:latest AS build
 | |
| COPY . /build/
 | |
| WORKDIR /build
 | |
| RUN make build && mkdir -p /app/.config/tea
 | |
| 
 | |
| FROM docker.io/chainguard/busybox:latest-glibc
 | |
| COPY --from=build /build/tea /bin/tea
 | |
| COPY --from=build --chown=65532:65532 /app /app
 | |
| VOLUME [ "/app" ]
 | |
| ENV HOME="/app"
 | |
| ENTRYPOINT ["/bin/sh", "-c"]
 | |
| CMD [ "tea" ]
 |