diff --git a/images/build/debian-base/Makefile b/images/build/debian-base/Makefile index 475020f7aaf..982e9ba23d1 100755 --- a/images/build/debian-base/Makefile +++ b/images/build/debian-base/Makefile @@ -92,15 +92,10 @@ else endif mv $(TEMP_DIR)/$(CONFIG)/Dockerfile.build.tmp $(TEMP_DIR)/$(CONFIG)/Dockerfile.build - docker buildx build \ - --pull \ - --platform $(ARCH) \ - -t $(BUILD_IMAGE) \ - -f $(TEMP_DIR)/$(CONFIG)/Dockerfile.build $(TEMP_DIR)/$(CONFIG) + docker build --pull -t $(BUILD_IMAGE) -f $(TEMP_DIR)/$(CONFIG)/Dockerfile.build $(TEMP_DIR)/$(CONFIG) docker create --name $(BUILD_IMAGE) $(BUILD_IMAGE) docker export $(BUILD_IMAGE) > $(TEMP_DIR)/$(CONFIG)/$(TAR_FILE) - docker buildx build \ - --platform $(ARCH) \ + docker build \ -t $(IMAGE)-$(ARCH):$(IMAGE_VERSION) \ -t $(IMAGE)-$(ARCH):$(TAG)-$(CONFIG) \ -t $(IMAGE)-$(ARCH):latest-$(CONFIG) \ diff --git a/images/build/debian-hyperkube-base/Makefile b/images/build/debian-hyperkube-base/Makefile index ef85c05d7e4..8d6993c36e0 100644 --- a/images/build/debian-hyperkube-base/Makefile +++ b/images/build/debian-hyperkube-base/Makefile @@ -74,10 +74,7 @@ ifneq ($(ARCH),amd64) # Register /usr/bin/qemu-ARCH-static as the handler for non-x86 binaries in the kernel $(SUDO) ../../../third_party/multiarch/qemu-user-static/register/register.sh --reset endif - docker buildx build \ - --pull \ - --platform $(ARCH) \ - -t $(IMAGE)-$(ARCH):$(TAG) $(TEMP_DIR) + docker build --pull -t $(IMAGE)-$(ARCH):$(TAG) $(TEMP_DIR) rm -rf $(TEMP_DIR) push: build diff --git a/images/build/debian-iptables/Makefile b/images/build/debian-iptables/Makefile index 4ea5ae23db4..5f87291fc49 100644 --- a/images/build/debian-iptables/Makefile +++ b/images/build/debian-iptables/Makefile @@ -46,9 +46,8 @@ ifneq ($(ARCH),amd64) $(SUDO) ../../../third_party/multiarch/qemu-user-static/register/register.sh --reset endif - docker buildx build \ + docker build \ --pull \ - --platform $(ARCH) \ -t $(IMAGE)-$(ARCH):$(IMAGE_VERSION) \ -t $(IMAGE)-$(ARCH):$(TAG)-$(CONFIG) \ -t $(IMAGE)-$(ARCH):latest-$(CONFIG) \