Skip to content

Commit d1ec762

Browse files
committed
cross build pause with buildx
1 parent 7c1dfd1 commit d1ec762

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)