Repository navigation
Conversation
CI builds linux/amd64 and linux/arm64 images, but the Dockerfile always downloaded the linux/amd64 orka3 build, so the arm64 image shipped an x86 CLI. Use TARGETARCH, falling back to amd64 for non-BuildKit builds. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
spikeburton
approved these changes
Oct 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Dockerfile: the builder stage downloadsorka3/linux/${TARGETARCH}/orka3.tar.gzinstead of alwayslinux/amd64. If the build doesn't setTARGETARCH(a non-BuildKit build), it falls back toamd64.Why
CI publishes
linux/amd64andlinux/arm64images (platforms: linux/amd64,linux/arm64inci.yml). The CLI download was hardcoded tolinux/amd64, so the arm64 image has been shipping an x86-64orka3binary, which can't run on arm64 hosts without emulation.Checks
linux/arm64CLI builds exist for the Dockerfile default (3.1.0) and the CI version (3.2.0). Both return 200, and so do 3.5.2 through 3.6.3.amd64andarm64against the published 3.6.3 artifacts. Each produces the matching binary: x86-64 and aarch64 ELF.Split out of #78, which is on hold pending the OK-6390 CLI rename decision. This fix stands on its own either way. Tracked in DI-753.
🤖 Generated with Claude Code