From 92745daa62118254bca670d85e072aa59fe09182 Mon Sep 17 00:00:00 2001 From: vteratipally <67723486+vteratipally@users.noreply.github.com> Date: Sat, 27 Aug 2022 16:28:39 -0700 Subject: [PATCH] fix building multi-arch image --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index aa24a9ee..13c11535 100644 --- a/Makefile +++ b/Makefile @@ -241,6 +241,7 @@ $(NPD_NAME_VERSION)-%.tar.gz: $(ALL_BINARIES) test/e2e-install.sh build-binaries: $(ALL_BINARIES) build-container: clean Dockerfile + docker run --rm --privileged multiarch/qemu-user-static --reset -p yes docker buildx create --use docker buildx build --platform $(DOCKER_PLATFORMS) -t $(IMAGE) --build-arg BASEIMAGE=$(BASEIMAGE) --build-arg LOGCOUNTER=$(LOGCOUNTER) .