From d1ec762a91f8726b01e109aea3aacb2bd4e78ebb Mon Sep 17 00:00:00 2001 From: Benjamin Elder Date: Sat, 8 Feb 2020 12:08:12 -0800 Subject: [PATCH] cross build pause with buildx --- build/pause/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/pause/Makefile b/build/pause/Makefile index 92b0f40b16a..79b44479c5a 100644 --- a/build/pause/Makefile +++ b/build/pause/Makefile @@ -86,7 +86,7 @@ bin/$(BIN)-$(ARCH): $(SRCS) container: .container-$(ARCH) .container-$(ARCH): bin/$(BIN)-$(ARCH) - docker build --pull -t $(IMAGE_WITH_ARCH):$(TAG) --build-arg ARCH=$(ARCH) . + DOCKER_CLI_EXPERIMENTAL=enabled docker buildx build --pull --platform linux/$(ARCH) -t $(IMAGE_WITH_ARCH):$(TAG) --build-arg ARCH=$(ARCH) . touch $@ push: .push-$(ARCH)