From 7184c92750bb367509da963305d427d388a9db24 Mon Sep 17 00:00:00 2001 From: Henri Burau Date: Thu, 19 Jun 2025 14:21:57 +0200 Subject: [PATCH] Change base image to scratch --- build/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/Dockerfile b/build/Dockerfile index a8eca7a..9ef01c6 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -14,7 +14,7 @@ ARG TARGETARCH RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH \ go build -a -installsuffix cgo -o weewoowebhook /app/cmd/wee_woo_webhook/main.go -FROM alpine +FROM scratch # Copy statically built binary from the builder COPY --from=builder /app/weewoowebhook /weewoowebhook