mirror of
				https://gitea.0xace.cc/rust/github-release-bot.git
				synced 2025-11-04 14:07:24 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			439 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			439 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM clux/muslrust:1.74.1 as builder
 | 
						|
RUN apt-get update && apt-get install -y ca-certificates
 | 
						|
WORKDIR /opt
 | 
						|
ADD . .
 | 
						|
RUN cargo build --release --verbose --target x86_64-unknown-linux-musl
 | 
						|
 | 
						|
FROM alpine:3.18
 | 
						|
COPY --from=builder /opt/target/x86_64-unknown-linux-musl/release/github-release-bot /opt/github-release-bot
 | 
						|
COPY ./docker/entrypoint.sh /opt/entrypoint.sh
 | 
						|
RUN chmod +x /opt/entrypoint.sh
 | 
						|
WORKDIR /opt
 | 
						|
ENTRYPOINT ["/opt/entrypoint.sh"]
 |