Skip to content

Commit

Permalink
Merge pull request kubernetes#119095 from saschagrunert/debian-base-b…
Browse files Browse the repository at this point in the history
…ookworm

Update debian-base to bookworm
  • Loading branch information
k8s-ci-robot committed Jul 18, 2023
2 parents f6bcef0 + 5e1777b commit d43e670
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build/dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ dependencies:

# Base images
- name: "registry.k8s.io/debian-base: dependents"
version: bullseye-v1.4.2
version: bookworm-v1.0.0
refPaths:
- path: cluster/images/etcd/Makefile
match: BASEIMAGE\?\=registry\.k8s\.io\/build-image\/debian-base:[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
Expand Down
10 changes: 5 additions & 5 deletions cluster/images/etcd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,19 +92,19 @@ DOCKERFILE.windows = Dockerfile.windows
DOCKERFILE := ${DOCKERFILE.${OS}}

ifeq ($(ARCH),amd64)
BASEIMAGE?=registry.k8s.io/build-image/debian-base:bullseye-v1.4.2
BASEIMAGE?=registry.k8s.io/build-image/debian-base:bookworm-v1.0.0
endif
ifeq ($(ARCH),arm)
BASEIMAGE?=registry.k8s.io/build-image/debian-base-arm:bullseye-v1.4.2
BASEIMAGE?=registry.k8s.io/build-image/debian-base-arm:bookworm-v1.0.0
endif
ifeq ($(ARCH),arm64)
BASEIMAGE?=registry.k8s.io/build-image/debian-base-arm64:bullseye-v1.4.2
BASEIMAGE?=registry.k8s.io/build-image/debian-base-arm64:bookworm-v1.0.0
endif
ifeq ($(ARCH),ppc64le)
BASEIMAGE?=registry.k8s.io/build-image/debian-base-ppc64le:bullseye-v1.4.2
BASEIMAGE?=registry.k8s.io/build-image/debian-base-ppc64le:bookworm-v1.0.0
endif
ifeq ($(ARCH),s390x)
BASEIMAGE?=registry.k8s.io/build-image/debian-base-s390x:bullseye-v1.4.2
BASEIMAGE?=registry.k8s.io/build-image/debian-base-s390x:bookworm-v1.0.0
endif

BASE.windows = mcr.microsoft.com/windows/nanoserver
Expand Down
3 changes: 3 additions & 0 deletions test/conformance/image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ FROM ${RUNNERIMAGE}

# This is a dependency for `kubectl diff` tests
COPY --from=debbase /usr/bin/diff /usr/local/bin/
COPY --from=debbase /lib/x86_64-linux-gnu/libc.so.6 /lib/x86_64-linux-gnu
COPY --from=debbase /lib/x86_64-linux-gnu/libpthread.so.0 /lib/x86_64-linux-gnu
COPY --from=debbase /lib64/ld-linux-x86-64.so.2 /lib64

COPY cluster /kubernetes/cluster
COPY ginkgo /usr/local/bin/
Expand Down
2 changes: 1 addition & 1 deletion test/conformance/image/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ CLUSTER_DIR?=$(shell pwd)/../../../cluster/

# This is defined in root Makefile, but some build contexts do not refer to them
KUBE_BASE_IMAGE_REGISTRY?=registry.k8s.io
BASE_IMAGE_VERSION?=bullseye-v1.4.2
BASE_IMAGE_VERSION?=bookworm-v1.0.0
BASEIMAGE?=${KUBE_BASE_IMAGE_REGISTRY}/build-image/debian-base-${ARCH}:${BASE_IMAGE_VERSION}

# Keep debian releases (e.g. debian 11 == bullseye) consistent
Expand Down

0 comments on commit d43e670

Please sign in to comment.