Skip to content

Commit 86ed97f

Browse files
authored
Merge pull request kubernetes#87954 from BenTheElder/fix-cross-build-cross
cross build pause with buildx
2 parents a330def + d1ec762 commit 86ed97f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/pause/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ bin/$(BIN)-$(ARCH): $(SRCS)
8686

8787
container: .container-$(ARCH)
8888
.container-$(ARCH): bin/$(BIN)-$(ARCH)
89-
docker build --pull -t $(IMAGE_WITH_ARCH):$(TAG) --build-arg ARCH=$(ARCH) .
89+
DOCKER_CLI_EXPERIMENTAL=enabled docker buildx build --pull --platform linux/$(ARCH) -t $(IMAGE_WITH_ARCH):$(TAG) --build-arg ARCH=$(ARCH) .
9090
touch $@
9191

9292
push: .push-$(ARCH)

0 commit comments

Comments
 (0)