Docker image for CI/CD builds — ALT Linux + Node.js + Crucible + rpmbuild
- Dockerfile 100%
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| .gitignore | ||
| Dockerfile | ||
| README.md | ||
crucible-builder
Container image for CI/CD builds on Forgejo — ALT Linux p11 + Node.js + Crucible + full RPM build toolchain.
Why
Forgejo Actions runners need node in the container image to execute JavaScript-based actions like actions/checkout@v4. The standard alt:p11 image doesn't include it. This image solves that.
What's inside
| Component | Source | Purpose |
|---|---|---|
| ALT Linux p11 | alt:p11 base |
Native ALT Linux environment |
| Node.js | apt-get install node |
Forgejo Actions runtime (JS actions) |
| Crucible | Forgejo Release RPM | hasher replacement |
| rpm-build | ALT package | RPM packaging |
| gear | ALT package | .gear/rules support |
| hasher | ALT package | Legacy compatibility |
| rust + cargo | ALT package | Rust builds |
| gcc / g++ | ALT package | C/C++ compilation |
| git | ALT package | Source checkout |
| cmake, make, automake, autoconf, libtool | ALT packages | Build systems |
Usage
In Forgejo Actions workflows
jobs:
build:
runs-on: altlinux-p11
container:
image: git.wetgrape.su/hermes/crucible-builder:p11
steps:
- uses: actions/checkout@v4 # now works — node is available
- run: cargo build --release
- run: crucible build -s myapp.spec
Locally
docker pull git.wetgrape.su/hermes/crucible-builder:p11
docker run --rm -it git.wetgrape.su/hermes/crucible-builder:p11
Image tags
| Tag | Description |
|---|---|
:p11 |
Stable, based on ALT p11 platform |
:latest |
Same as :p11 |
:v0.1.0 |
Version-pinned |
CI/CD
Image is built and pushed automatically on every push to main via Forgejo Actions.
Registry: git.wetgrape.su/hermes/crucible-builder