rtk-ai/rtk

Add aarch64-unknown-linux-musl target to release binaries

Open

#1331 opened on Apr 15, 2026

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (48,085 stars) (2,914 forks)batch import
effort-smallenhancementgood first issue

Description

Problem

The current release only provides rtk-aarch64-unknown-linux-gnu.tar.gz for Linux ARM64. This binary is not compatible with Alpine Linux (musl libc), which is widely used in container images.

Running the gnu binary on Alpine results in:

Error relocating /usr/local/bin/rtk: fcntl64: symbol not found
Error relocating /usr/local/bin/rtk: __res_init: symbol not found

Even with libc6-compat and gcompat packages installed, the missing symbols are not resolved.

Current workaround

We build rtk from source using Cargo inside an Alpine-based Docker stage, which works but adds significant build time (~3-5 min)
compared to downloading a pre-built binary.

Request

Add rtk-aarch64-unknown-linux-musl.tar.gz to the release assets, similar to how rtk-x86_64-unknown-linux-musl.tar.gz is already provided for x86_64.

Context

  • The x86_64 musl target already exists: rtk-x86_64-unknown-linux-musl.tar.gz
  • Alpine Linux is the de facto standard for lightweight container images
  • ARM64 (aarch64) adoption is growing fast in cloud (AWS Graviton, Azure Cobalt, etc.)
  • The Rust target aarch64-unknown-linux-musl is Tier 2 with host tools, so cross-compilation should be straightforward

Thanks for the great tool! 🚀

Contributor guide