From 44c183598d570c1a99675ffec51c7492b7efa16e Mon Sep 17 00:00:00 2001 From: Andrea V <1577639+karimodm@users.noreply.github.com> Date: Tue, 17 Oct 2023 14:16:34 +0200 Subject: [PATCH] Upgrade Debian base image for Dockerfile.dev --- Dockerfile.dev | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.dev b/Dockerfile.dev index 4a69168eb..e9073b384 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,6 +1,6 @@ ARG WITH_GO_WORK=0 # https://hub.docker.com/_/golang -FROM golang:1.21-bullseye AS base +FROM golang:1.21-bookworm AS base ARG BUILD_TAGS=rocksdb @@ -57,9 +57,9 @@ RUN mkdir -p /app/data/peerdb ############################ # Runtime Image ############################ -# https://console.cloud.google.com/gcr/images/distroless/global/cc-debian11 +# https://console.cloud.google.com/gcr/images/distroless/global/cc-debian12 # using distroless cc "nonroot" image, which includes everything in the base image (glibc, libssl and openssl) -FROM gcr.io/distroless/cc-debian11:nonroot +FROM gcr.io/distroless/cc-debian12:nonroot # Copy the app dir into distroless image COPY --chown=nonroot:nonroot --from=build /app /app