From bcc361004f339938e573a1e4489e72f167ab8449 Mon Sep 17 00:00:00 2001 From: Stig Otnes Kolstad Date: Tue, 19 Dec 2023 13:11:13 +0100 Subject: [PATCH] build: bump distroless image to bookworm as well Wrong version of glibc in debian11 caused resulting Docker container image to fail on launch. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 74f73ca..17e4757 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ RUN go mod download -x COPY . /go/src/app RUN make GO_FLAGS="-buildvcs=false" test build -FROM gcr.io/distroless/base-debian11 +FROM gcr.io/distroless/base-debian12 COPY --from=build /go/src/app/terraform-registry /bin/ COPY --from=build /usr/local/bin/dumb-init /bin/ USER nonroot