Switch from static to base Debian 12 distroless image for runtime support
This commit is contained in:
		@@ -16,7 +16,7 @@ COPY internal /app/internal/
 | 
			
		||||
RUN CGO_ENABLED=1 GOOS=linux go build -o /CatsOfMastodonGo ./cmd/CatsOfMastodonBotGo/main.go
 | 
			
		||||
 | 
			
		||||
# Deploy the application binary into a lean image
 | 
			
		||||
FROM gcr.io/distroless/static-debian12 AS build-release-stage
 | 
			
		||||
FROM gcr.io/distroless/base-debian12 AS build-release-stage
 | 
			
		||||
 | 
			
		||||
WORKDIR /
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user