Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions images/build/debian-base/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ CONFIG ?= bookworm

TAR_FILE ?= rootfs.tar
ARCH ?= amd64
ALL_ARCH = amd64 arm arm64 ppc64le s390x
ALL_ARCH ?= amd64 arm arm64 ppc64le s390x

QEMUVERSION=7.2.0-1
QEMUVERSION ?= 7.2.0-1
QEMUIMAGE ?= multiarch/qemu-user-static
QEMUFLAGS ?= --reset -p yes

# This option is for running docker manifest command
export DOCKER_CLI_EXPERIMENTAL := enabled
Expand Down Expand Up @@ -75,7 +76,7 @@ build: clean
umask 0022

# Enable execution of multi-architecture containers
docker run --rm --privileged $(QEMUIMAGE):$(QEMUVERSION) --reset -p yes
docker run --rm --privileged $(QEMUIMAGE):$(QEMUVERSION) $(QEMUFLAGS)
docker buildx version
BUILDER=$(shell docker buildx create --use)

Expand Down
7 changes: 4 additions & 3 deletions images/build/distroless-iptables/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,15 @@ BASEIMAGE ?= debian:bookworm-slim
GORUNNER_VERSION ?= v2.4.0-go1.25.10-bookworm.0

ARCH?=amd64
ALL_ARCH = amd64 arm arm64 ppc64le s390x
ALL_ARCH ?= amd64 arm arm64 ppc64le s390x

BASE_REGISTRY?=registry.k8s.io/build-image

GORUNNERIMAGE?=$(BASE_REGISTRY)/go-runner:$(GORUNNER_VERSION)

QEMUVERSION=7.2.0-1
QEMUVERSION ?= 7.2.0-1
QEMUIMAGE ?= multiarch/qemu-user-static
QEMUFLAGS ?= --reset -p yes

ifneq ($(ARCH), amd64)
SKIP_WRAPPER_CHECK=--no-sanity-check
Expand All @@ -47,7 +48,7 @@ build:
umask 0022

# Enable execution of multi-architecture containers
docker run --rm --privileged $(QEMUIMAGE):$(QEMUVERSION) --reset -p yes
docker run --rm --privileged $(QEMUIMAGE):$(QEMUVERSION) $(QEMUFLAGS)
docker buildx version
BUILDER=$(shell docker buildx create --use)
docker buildx build \
Expand Down
7 changes: 4 additions & 3 deletions images/build/setcap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@ CONFIG ?= bookworm
DEBIAN_BASE_VERSION ?= bookworm-v1.0.7

ARCH?=amd64
ALL_ARCH = amd64 arm arm64 ppc64le s390x
ALL_ARCH ?= amd64 arm arm64 ppc64le s390x

BASE_REGISTRY?=registry.k8s.io/build-image
BASEIMAGE?=$(BASE_REGISTRY)/debian-base-$(ARCH):$(DEBIAN_BASE_VERSION)

# Build args
QEMUVERSION=7.2.0-1
QEMUVERSION ?= 7.2.0-1
QEMUIMAGE ?= multiarch/qemu-user-static
QEMUFLAGS ?= --reset -p yes

# This option is for running docker manifest command
export DOCKER_CLI_EXPERIMENTAL := enabled
Expand All @@ -40,7 +41,7 @@ build:
umask 0022

# Enable execution of multi-architecture containers
docker run --rm --privileged $(QEMUIMAGE):$(QEMUVERSION) --reset -p yes
docker run --rm --privileged $(QEMUIMAGE):$(QEMUVERSION) $(QEMUFLAGS)
docker buildx version
BUILDER=$(shell docker buildx create --use)
docker buildx build \
Expand Down
Loading