From de33c801a5360e3a588abf1aa8d979d007c82111 Mon Sep 17 00:00:00 2001 From: Dan Date: Mon, 14 Nov 2022 18:03:55 +0000 Subject: [PATCH 1/2] update BASEIMAGE to debian-base:bullseye-v1.4.2 This is the latest Debian Bullseye image, it is the same as used in other Kubernetes projects, i.e. https://github.com/kubernetes-sigs/blob-csi-driver/pull/765/files --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 64a3a2aba..694394c2c 100644 --- a/Makefile +++ b/Makefile @@ -75,7 +75,7 @@ endif # The debian-base:v2.0.0 image built from kubernetes repository is based on # Debian Stretch. It includes systemd 241 with support for both +XZ and +LZ4 # compression. +LZ4 is needed on some os distros such as COS. -BASEIMAGE:=k8s.gcr.io/debian-base:v2.0.0 +BASEIMAGE:=registry.k8s.io/build-image/debian-base:bullseye-v1.4.2 # Disable cgo by default to make the binary statically linked. CGO_ENABLED:=0 From 7f0a62683ec04d8fc9e23bed0d8da88a1e218005 Mon Sep 17 00:00:00 2001 From: Dan Bryant Date: Thu, 5 Jan 2023 09:43:24 +0000 Subject: [PATCH 2/2] fixup extra packages for installation --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 99e9cd175..7223cd6ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,7 @@ FROM ${BASEIMAGE} LABEL maintainer="Random Liu " -RUN clean-install util-linux libsystemd0 bash systemd +RUN clean-install util-linux bash libsystemd-dev # Avoid symlink of /etc/localtime. RUN test -h /etc/localtime && rm -f /etc/localtime && cp /usr/share/zoneinfo/UTC /etc/localtime || true