From 7800f379f52c327638db480e9efc80ba9cee9e20 Mon Sep 17 00:00:00 2001 From: Sahil Verma Date: Thu, 16 May 2024 14:38:03 -0700 Subject: [PATCH] chore: bump BASEIMAGE from static to static-debian12 (#3386) Signed-off-by: Sahil Verma --- Dockerfile | 2 +- gator.Dockerfile | 2 +- test/externaldata/dummy-provider/Dockerfile | 2 +- test/pubsub/fake-subscriber/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 76a2ca45218..6dd775c45b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ ARG BUILDPLATFORM="linux/amd64" ARG BUILDERIMAGE="golang:1.22-bookworm" # Use distroless as minimal base image to package the manager binary # Refer to https://github.com/GoogleContainerTools/distroless for more details -ARG BASEIMAGE="gcr.io/distroless/static:nonroot" +ARG BASEIMAGE="gcr.io/distroless/static-debian12:nonroot" FROM --platform=$BUILDPLATFORM $BUILDERIMAGE as builder diff --git a/gator.Dockerfile b/gator.Dockerfile index aac863f0285..6a014a76333 100644 --- a/gator.Dockerfile +++ b/gator.Dockerfile @@ -2,7 +2,7 @@ ARG BUILDPLATFORM="linux/amd64" ARG BUILDERIMAGE="golang:1.22-bookworm" # Use distroless as minimal base image to package the manager binary # Refer to https://github.com/GoogleContainerTools/distroless for more details -ARG BASEIMAGE="gcr.io/distroless/static:nonroot" +ARG BASEIMAGE="gcr.io/distroless/static-debian12:nonroot" FROM --platform=$BUILDPLATFORM $BUILDERIMAGE as builder diff --git a/test/externaldata/dummy-provider/Dockerfile b/test/externaldata/dummy-provider/Dockerfile index 86daf931342..eb498a0e4ea 100644 --- a/test/externaldata/dummy-provider/Dockerfile +++ b/test/externaldata/dummy-provider/Dockerfile @@ -1,6 +1,6 @@ ARG BUILDPLATFORM="linux/amd64" ARG BUILDERIMAGE="golang:1.22-bookworm" -ARG BASEIMAGE="gcr.io/distroless/static:nonroot" +ARG BASEIMAGE="gcr.io/distroless/static-debian12:nonroot" FROM --platform=$BUILDPLATFORM $BUILDERIMAGE as builder diff --git a/test/pubsub/fake-subscriber/Dockerfile b/test/pubsub/fake-subscriber/Dockerfile index 74a77f7528e..9a8168a0b3a 100644 --- a/test/pubsub/fake-subscriber/Dockerfile +++ b/test/pubsub/fake-subscriber/Dockerfile @@ -1,6 +1,6 @@ ARG BUILDPLATFORM="linux/amd64" ARG BUILDERIMAGE="golang:1.22-bookworm" -ARG BASEIMAGE="gcr.io/distroless/static:nonroot" +ARG BASEIMAGE="gcr.io/distroless/static-debian12:nonroot" FROM --platform=$BUILDPLATFORM $BUILDERIMAGE as builder