Skip to content

Fix the kind install on arm64 hosts - #1869

Merged
Bowei Du (bowei) merged 1 commit into
agent-substrate:mainfrom
yufan-su:fix-dataplane-image-platform
Sep 25, 2026
Merged

Bowei Du (bowei) merged 1 commit into
agent-substrate:mainfrom
yufan-su:fix-dataplane-image-platform

Conversation

@yufan-su

Copy link
Copy Markdown
Collaborator

Fixes the kind install on arm64 hosts (Apple Silicon), broken in #1535

  • BuildDockerfileImage hard-codes --platform=linux/amd64, so the
    dataplane image's Rust builder stage fails with exec /bin/sh: exec format error on mac with arm64

The ko images already follow KO_DEFAULTPLATFORMS, which the kind install
sets to the host architecture; the Dockerfile images did not.

Changes

  • Pass KO_DEFAULTPLATFORMS through to docker buildx build --platform for
    both Dockerfile images (envoy dataplane, claude-code-multiplex demo),
    defaulting to linux/amd64 when unset.

  • Pin the Envoy base image by its multi-platform index digest so --platform
    selects the matching manifest.

  • Tested (hack/install-ate-kind.sh --deploy-ate-system on mac succeed)

@bowei
Bowei Du (bowei) added this pull request to the merge queue Sep 25, 2026
Merged via the queue into agent-substrate:main with commit 5ebccf3 Sep 25, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants