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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/moghtech/komodo/pull/552
Author: @R3D2
Created: 5/26/2025
Status: ❌ Closed
Base:
main← Head:musl-periphery-clean📝 Commits (3)
bed6295feat: add musl support for periphery builds58613cbfix: update image references to use moghtech organization8a5b45cfeat: 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.
rust:1.82-alpinefor modern Cargo.lock compatibility🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.