From ea898b53eaaddb813d57b78a4f49edb09451527c Mon Sep 17 00:00:00 2001 From: Johnny Graettinger Date: Fri, 19 Jan 2024 20:57:02 +0000 Subject: [PATCH] Dockerfile: bump runtime image version --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 247ee5f..6290f3b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,7 +30,7 @@ FROM busybox:1.34-musl as busybox # Runtime Stage ################################################################################ -FROM gcr.io/distroless/base-debian11 +FROM gcr.io/distroless/base-debian12 COPY --from=busybox /bin/sh /bin/sh @@ -45,4 +45,7 @@ COPY --from=builder --chown=nonroot /builder/tls-cert.pem ./ # Avoid running the data-plane-gateway as root. USER nonroot:nonroot +# Ensure data-plane-gateway can run on this runtime image. +RUN ./data-plane-gateway --help + ENTRYPOINT ["/app/data-plane-gateway"]