Skip to content

Commit 573a99e

Browse files
thockindanwinship
authored andcommitted
Bump debian-base to buster
1 parent 3b440df commit 573a99e

File tree

5 files changed

+12
-26
lines changed

5 files changed

+12
-26
lines changed

build/common.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ readonly KUBE_CONTAINER_RSYNC_PORT=8730
9494
# $1 - server architecture
9595
kube::build::get_docker_wrapped_binaries() {
9696
local arch=$1
97-
local debian_base_version=v1.0.0
98-
local debian_iptables_version=v11.0.2
97+
local debian_base_version=v2.0.0
98+
local debian_iptables_version=v12.0.0
9999
### If you change any of these lists, please also update DOCKERIZED_BINARIES
100100
### in build/BUILD. And kube::golang::server_image_targets
101101
local targets=(

build/debian-base/Dockerfile.build

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -41,28 +41,14 @@ RUN apt-mark hold apt gnupg adduser passwd libsemanage1 libcap2
4141
# Several utilities (e.g. ping) were kept for usefulness, but may be removed in later versions.
4242
RUN echo "Yes, do as I say!" | apt-get purge \
4343
bash \
44-
debconf-i18n \
45-
e2fslibs \
4644
e2fsprogs \
47-
init \
48-
initscripts \
4945
libcap2-bin \
50-
libkmod2 \
5146
libmount1 \
5247
libsmartcols1 \
53-
libudev1 \
5448
libblkid1 \
55-
libncursesw5 \
56-
libprocps6 \
57-
libslang2 \
5849
libss2 \
59-
libsystemd0 \
60-
libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl \
6150
ncurses-base \
6251
ncurses-bin \
63-
systemd \
64-
systemd-sysv \
65-
sysv-rc \
6652
tzdata
6753

6854
# No-op stubs replace some unnecessary binaries that may be depended on in the install process (in

build/debian-base/Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ REGISTRY ?= staging-k8s.gcr.io
1818
IMAGE ?= $(REGISTRY)/debian-base
1919
BUILD_IMAGE ?= debian-build
2020

21-
TAG ?= v1.0.0
21+
TAG ?= v2.0.0
2222

2323
TAR_FILE ?= rootfs.tar
2424
ARCH?=amd64
@@ -33,22 +33,22 @@ SUDO=$(if $(filter 0,$(shell id -u)),,sudo)
3333
export DOCKER_CLI_EXPERIMENTAL := enabled
3434

3535
ifeq ($(ARCH),amd64)
36-
BASEIMAGE?=debian:stretch
36+
BASEIMAGE?=debian:buster-slim
3737
endif
3838
ifeq ($(ARCH),arm)
39-
BASEIMAGE?=arm32v7/debian:stretch
39+
BASEIMAGE?=arm32v7/debian:buster-slim
4040
QEMUARCH=arm
4141
endif
4242
ifeq ($(ARCH),arm64)
43-
BASEIMAGE?=arm64v8/debian:stretch
43+
BASEIMAGE?=arm64v8/debian:buster-slim
4444
QEMUARCH=aarch64
4545
endif
4646
ifeq ($(ARCH),ppc64le)
47-
BASEIMAGE?=ppc64le/debian:stretch
47+
BASEIMAGE?=ppc64le/debian:buster-slim
4848
QEMUARCH=ppc64le
4949
endif
5050
ifeq ($(ARCH),s390x)
51-
BASEIMAGE?=s390x/debian:stretch
51+
BASEIMAGE?=s390x/debian:buster-slim
5252
QEMUARCH=s390x
5353
endif
5454

build/debian-iptables/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616

1717
REGISTRY?="staging-k8s.gcr.io"
1818
IMAGE=$(REGISTRY)/debian-iptables
19-
TAG?=v11.0.2
19+
TAG?=v12.0.0
2020
ARCH?=amd64
2121
ALL_ARCH = amd64 arm arm64 ppc64le s390x
2222
TEMP_DIR:=$(shell mktemp -d)
2323

24-
BASEIMAGE?=k8s.gcr.io/debian-base-$(ARCH):v1.0.0
24+
BASEIMAGE?=k8s.gcr.io/debian-base-$(ARCH):v2.0.0
2525

2626
# This option is for running docker manifest command
2727
export DOCKER_CLI_EXPERIMENTAL := enabled

build/workspace.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def debian_image_dependencies():
113113
digest = _digest(_DEBIAN_BASE_DIGEST, arch),
114114
registry = "k8s.gcr.io",
115115
repository = "debian-base",
116-
tag = "0.4.1", # ignored, but kept here for documentation
116+
tag = "v2.0.0", # ignored, but kept here for documentation
117117
)
118118

119119
container_pull(
@@ -122,7 +122,7 @@ def debian_image_dependencies():
122122
digest = _digest(_DEBIAN_IPTABLES_DIGEST, arch),
123123
registry = "k8s.gcr.io",
124124
repository = "debian-iptables",
125-
tag = "v11.0.2", # ignored, but kept here for documentation
125+
tag = "v12.0.0", # ignored, but kept here for documentation
126126
)
127127

128128
container_pull(

0 commit comments

Comments
 (0)