From 822cca960e2e21b4555d9ebb8509a7b9a40a3ccc Mon Sep 17 00:00:00 2001 From: Emmanuel Gautier Date: Sat, 10 Aug 2024 22:34:31 +0200 Subject: [PATCH] chore: update golang debian version --- .docker/Dockerfile-build | 4 ++-- .docker/Dockerfile-goreleaser | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.docker/Dockerfile-build b/.docker/Dockerfile-build index 3e7435e..99d0823 100644 --- a/.docker/Dockerfile-build +++ b/.docker/Dockerfile-build @@ -1,4 +1,4 @@ -FROM golang:1.22-bullseye AS builder +FROM golang:1.22-bookworm AS builder WORKDIR /go/src/github.com/cerberauth/openapi-oathkeeper @@ -14,7 +14,7 @@ COPY . . RUN go build -o /usr/bin/openapi-oathkeeper . -FROM gcr.io/distroless/static-debian11:nonroot AS runner +FROM gcr.io/distroless/static-debian12:nonroot AS runner COPY --from=builder --chown=nonroot:nonroot /usr/bin/openapi-oathkeeper /usr/bin/openapi-oathkeeper diff --git a/.docker/Dockerfile-goreleaser b/.docker/Dockerfile-goreleaser index bf53c2a..bbcb0de 100644 --- a/.docker/Dockerfile-goreleaser +++ b/.docker/Dockerfile-goreleaser @@ -1,4 +1,4 @@ -FROM gcr.io/distroless/static-debian11:nonroot +FROM gcr.io/distroless/static-debian12:nonroot COPY --chown=nonroot:nonroot openapi-oathkeeper /usr/bin/openapi-oathkeeper