Skip to content

Commit

Permalink
chore: update golang debian version
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelgautier committed Aug 10, 2024
1 parent f403c5d commit 822cca9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .docker/Dockerfile-build
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .docker/Dockerfile-goreleaser
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 822cca9

Please sign in to comment.