Skip to content

Commit

Permalink
chore: bump docker base images (#3632)
Browse files Browse the repository at this point in the history
  • Loading branch information
zepatrik committed Sep 19, 2023
1 parent 9e9be2d commit 3615e3d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .docker/Dockerfile-build
@@ -1,4 +1,4 @@
FROM golang:1.20-bullseye AS builder
FROM golang:1.21 AS builder

WORKDIR /go/src/github.com/ory/hydra

Expand All @@ -19,7 +19,7 @@ RUN go build -tags sqlite,json1 -o /usr/bin/hydra

#########################

FROM gcr.io/distroless/base-nossl-debian11:nonroot AS runner
FROM gcr.io/distroless/base-nossl-debian12:nonroot AS runner

COPY --from=builder --chown=nonroot:nonroot /var/lib/sqlite /var/lib/sqlite
COPY --from=builder /usr/bin/hydra /usr/bin/hydra
Expand Down
2 changes: 1 addition & 1 deletion .docker/Dockerfile-distroless-static
@@ -1,4 +1,4 @@
FROM gcr.io/distroless/static-debian11:nonroot
FROM gcr.io/distroless/static-debian12:nonroot

COPY hydra /usr/bin/hydra
# Declare the standard ports used by hydra (4444 for public service endpoint, 4445 for admin service endpoint)
Expand Down
4 changes: 2 additions & 2 deletions .docker/Dockerfile-hsm
@@ -1,4 +1,4 @@
FROM golang:1.20 AS builder
FROM golang:1.21 AS builder

WORKDIR /go/src/github.com/ory/hydra

Expand Down Expand Up @@ -34,7 +34,7 @@ RUN apt-get -y install softhsm opensc &&\

###############################

FROM gcr.io/distroless/base-nossl-debian11:debug-nonroot AS runner
FROM gcr.io/distroless/base-nossl-debian12:debug-nonroot AS runner

ENV HSM_ENABLED=true
ENV HSM_LIBRARY=/usr/lib/softhsm/libsofthsm2.so
Expand Down

0 comments on commit 3615e3d

Please sign in to comment.