[PR #552] [CLOSED] feat: add musl support for periphery builds #747

Closed
opened 2025-10-31 15:20:43 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/moghtech/komodo/pull/552
Author: @R3D2
Created: 5/26/2025
Status: Closed

Base: mainHead: musl-periphery-clean


📝 Commits (3)

  • bed6295 feat: add musl support for periphery builds
  • 58613cb fix: update image references to use moghtech organization
  • 8a5b45c feat: add host installation support for musl periphery

📊 Changes

6 files changed (+349 additions, -0 deletions)

View changed files

📝 Cargo.lock (+1 -0)
📝 bin/periphery/Cargo.toml (+4 -0)
bin/periphery/README-musl.md (+100 -0)
bin/periphery/musl.Dockerfile (+50 -0)
scripts/build-musl.sh (+107 -0)
scripts/install-musl.sh (+87 -0)

📄 Description

Adds musl-based Docker builds for Komodo Periphery, enabling statically linked binaries that result in ~15MB container images compared to ~100MB+ glibc-based images.

  • Uses rust:1.82-alpine for modern Cargo.lock compatibility
  • Native architecture builds (no cross-compilation complexity)
  • Scratch-based runtime for minimal footprint
  • Tested builds: AMD64 (16.6MB) and ARM64 (15.7MB)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/moghtech/komodo/pull/552 **Author:** [@R3D2](https://github.com/R3D2) **Created:** 5/26/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `musl-periphery-clean` --- ### 📝 Commits (3) - [`bed6295`](https://github.com/moghtech/komodo/commit/bed6295c57ec98849918a6b3b33bbe34730aea2f) feat: add musl support for periphery builds - [`58613cb`](https://github.com/moghtech/komodo/commit/58613cb19a20fa4fc7d913298f2d80e137dced95) fix: update image references to use moghtech organization - [`8a5b45c`](https://github.com/moghtech/komodo/commit/8a5b45ca0416d02eb3c7f3d3d87f39744f226dbd) feat: add host installation support for musl periphery ### 📊 Changes **6 files changed** (+349 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+1 -0) 📝 `bin/periphery/Cargo.toml` (+4 -0) ➕ `bin/periphery/README-musl.md` (+100 -0) ➕ `bin/periphery/musl.Dockerfile` (+50 -0) ➕ `scripts/build-musl.sh` (+107 -0) ➕ `scripts/install-musl.sh` (+87 -0) </details> ### 📄 Description Adds musl-based Docker builds for Komodo Periphery, enabling statically linked binaries that result in ~15MB container images compared to ~100MB+ glibc-based images. - Uses `rust:1.82-alpine` for modern Cargo.lock compatibility - Native architecture builds (no cross-compilation complexity) - Scratch-based runtime for minimal footprint - Tested builds: AMD64 (16.6MB) and ARM64 (15.7MB) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-10-31 15:20:43 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#747