From 69aca2324637abf9f1c9f768a540234a08f591b4 Mon Sep 17 00:00:00 2001 From: Marc Singer Date: Mon, 23 Feb 2026 07:43:44 +0100 Subject: [PATCH] feat: use distroless static debian 13 docker image --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 892c939..03dea42 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,11 +6,9 @@ COPY . . RUN go mod download -RUN CGO_ENABLED=0 go build -o webhook -ldflags '-w -extldflags "-static"' . +RUN CGO_ENABLED=0 go build -o webhook . -FROM alpine:latest - -RUN apk add --no-cache ca-certificates +FROM gcr.io/distroless/static-debian13 COPY --from=build /workspace/webhook /usr/local/bin/webhook