Skip to content

Commit 831d1ea

Browse files
authored
Merge pull request #1127 from mauriciopoppe/multi-arch-build-windows
Pin the buildkit version to v0.10.6
2 parents 843b082 + efba1a0 commit 831d1ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@ ifndef GCE_PD_CSI_STAGING_VERSION
123123
endif
124124

125125
init-buildx:
126+
$(DOCKER) run --rm --privileged multiarch/qemu-user-static --reset --credential yes --persistent yes
126127
# Ensure we use a builder that can leverage it (the default on linux will not)
127128
-$(DOCKER) buildx rm multiarch-multiplatform-builder
128-
$(DOCKER) buildx create --use --name=multiarch-multiplatform-builder
129-
$(DOCKER) run --rm --privileged multiarch/qemu-user-static --reset --credential yes --persistent yes
129+
$(DOCKER) buildx create --use --name=multiarch-multiplatform-builder --driver-opt network=host --driver-opt image=moby/buildkit:v0.10.6
130130
# Register gcloud as a Docker credential helper.
131131
# Required for "docker buildx build --push".
132132
gcloud auth configure-docker --quiet

0 commit comments

Comments
 (0)