https://github.com/reactive-firewall/perl-alpine-llvm
Perl‑Alpine‑LLVM builds Perl 5. X.Y from source on Alpine Linux using the LLVM/Clang toolchain exclusively (no GCC).
https://github.com/reactive-firewall/perl-alpine-llvm
alpine llvm perl5
Last synced: 6 months ago
JSON representation
Perl‑Alpine‑LLVM builds Perl 5. X.Y from source on Alpine Linux using the LLVM/Clang toolchain exclusively (no GCC).
- Host: GitHub
- URL: https://github.com/reactive-firewall/perl-alpine-llvm
- Owner: reactive-firewall
- Created: 2025-09-22T22:25:00.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2025-09-22T23:10:45.000Z (6 months ago)
- Last Synced: 2025-09-23T00:23:42.140Z (6 months ago)
- Topics: alpine, llvm, perl5
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About *Perl‑Alpine‑LLVM*
`Perl‑Alpine‑LLVM` builds **Perl 5.** *X.Y* (default 5.43.2) from source on **Alpine Linux** using the **LLVM/Clang** toolchain **exclusively** (no GCC).
## Key features
- **Thread‑enabled** (`-Dusethreads`) and linked with shared libraries (`-Duseshrplib`) for high‑performance workloads.
- **Minimal runtime** – only the compiled interpreter and required musl libraries are kept; final image < 80 MB.
- **Version‑transparent** – installs `perl5..` and creates a stable `perl` symlink, matching Docker’s official Perl naming scheme.
- **Reproducible builds** – source tarballs are SHA‑256 verified; clang’s deterministic output ensures consistent images.
- **Extensible** – CI pipelines and documentation for adding extra CPAN modules while preserving the lean footprint.
## Why use this image?
- Need a **lightweight** container for micro‑services or CI jobs.
- Prefer the **musl** C library and **clang** compiler for security or licensing reasons.
- Want a **drop‑in replacement** for the official Debian‑based Perl images with the same entrypoint, but on Alpine.
The repository contains the Dockerfile, GitHub Actions workflows for automated builds, and usage examples.