From 71d3e6bdb2653f28f6252a912678cbc2ff4e56ff Mon Sep 17 00:00:00 2001 From: Plague Fox Date: Sun, 22 Sep 2024 00:33:31 +0400 Subject: [PATCH] Try debian:stable-slim instead of distroless --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7a14535..db3b47e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,7 +31,8 @@ RUN --mount=target=. \ go build -ldflags="-w -s" -o /app/service ./cmd/main.go # Create the final image -FROM gcr.io/distroless/static:nonroot AS prd +#FROM gcr.io/distroless/static:nonroot AS prd +FROM debian:stable-slim AS prd # Copy the built binary COPY --link --from=build /app/service /service