Skip to content

refactor: remove docker-build function that produces host-arch binaries#91

Merged
mairas merged 1 commit intomainfrom
refactor/remove-amd64-support
Dec 20, 2025
Merged

refactor: remove docker-build function that produces host-arch binaries#91
mairas merged 1 commit intomainfrom
refactor/remove-amd64-support

Conversation

@mairas
Copy link
Contributor

@mairas mairas commented Dec 20, 2025

Summary

Remove the docker-build function that builds binaries for the host architecture (x86_64 on most dev machines). These binaries are useless for HALPI2 since it only runs on ARM64.

What remains

  • docker-cross-build - Cross-compiles to ARM64 (correct)
  • docker-build-deb - Builds ARM64 Debian packages (correct)
  • _detect_docker_platform - Used by above functions to run Docker containers on the correct host platform

Context

HALPI2 is a Raspberry Pi CM5 based device. It's impossible to run the daemon on amd64, so building host-architecture binaries is counterproductive and confusing.

🤖 Generated with Claude Code

The docker-build function built binaries for the host architecture
(x86_64 on most dev machines), which are useless for HALPI2 since it
only runs on ARM64. Remove this function to avoid confusion.

The docker-cross-build and docker-build-deb functions remain, as they
correctly cross-compile to aarch64-unknown-linux-musl.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@mairas mairas merged commit 5bdcd68 into main Dec 20, 2025
1 check passed
@mairas mairas deleted the refactor/remove-amd64-support branch December 20, 2025 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant