From 22a4d8abf2baacdfb2d9cfd57cecbcf9e9e572ff Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Tue, 4 Jul 2023 12:28:53 +0200 Subject: [PATCH] Switch to debian bookworm as base image Use the latest debian distribution for the haproxy and local-path-helper images. Signed-off-by: Sascha Grunert --- images/haproxy/Dockerfile | 3 ++- images/local-path-helper/Dockerfile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/images/haproxy/Dockerfile b/images/haproxy/Dockerfile index 77c205d88d..f9b4a61e95 100644 --- a/images/haproxy/Dockerfile +++ b/images/haproxy/Dockerfile @@ -15,7 +15,8 @@ # This image is a haproxy image + minimal config so the container will not exit # while we rewrite the config at runtime and signal haproxy to reload. -ARG BASE="registry.k8s.io/build-image/debian-base:bullseye-v1.4.3" +# digest below belongs to tag: bookworm-v1.0.0 +ARG BASE="registry.k8s.io/build-image/debian-base@sha256:b9335fa66cdb5c1562c4f952e2d99f904dbe1618a6ed0d52487e70cf6cc280fd" FROM ${BASE} as build # NOTE: copyrights.tar.gz is a quirk of Kubernetes's debian-base image diff --git a/images/local-path-helper/Dockerfile b/images/local-path-helper/Dockerfile index 1bb8845435..a0e1572641 100644 --- a/images/local-path-helper/Dockerfile +++ b/images/local-path-helper/Dockerfile @@ -15,7 +15,8 @@ # This image is contains the binaries needed for the local-path-provisioner # helper pod. Currently that means: sh, rm, mkdir -ARG BASE="registry.k8s.io/build-image/debian-base:bullseye-v1.4.3" +# digest below belongs to tag: bookworm-v1.0.0 +ARG BASE="registry.k8s.io/build-image/debian-base@sha256:b9335fa66cdb5c1562c4f952e2d99f904dbe1618a6ed0d52487e70cf6cc280fd" FROM ${BASE} as build # NOTE: copyrights.tar.gz is a quirk of Kubernetes's debian-base image