Minimal Node 22 CI image with pnpm, Proto and Moon for fast builds
307
Minimal, production-ready Docker images for high-performance CI pipelines using:
Designed for GitHub Actions, Forgejo Actions, and other container-based CI systems.
| Image | Description |
|---|---|
rostertools/ci-node-moon:22.22.2-slim | โ Recommended. Debian-based, stable, fully compatible |
rostertools/ci-node-moon:22-alpine | โ ๏ธ Experimental. Smaller, but may have compatibility issues |
โก Zero setup CI โ no need to install Node, pnpm, or Moon in your pipeline
๐ฆ pnpm ready via Corepack
๐ง Proto preinstalled for toolchain management
๐ Moon preinstalled for monorepos and task orchestration
๐ Includes:
gitcurljqrsyncopenssh-clientca-certificates๐ชถ Lightweight and optimized for fast pulls
๐ Designed for cache-friendly workflows
Traditional CI pipelines waste time on:
This image eliminates that overhead, enabling:
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
container:
image: rostertools/ci-node-moon:22.22.2-slim
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: pnpm install --frozen-lockfile --prefer-offline
- name: Build
run: moon run :build --parallel
name: CI
on:
push:
jobs:
build:
runs-on: self-host
container:
image: rostertools/ci-node-moon:22.22.2-slim
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: pnpm install --frozen-lockfile --prefer-offline
- name: Build
run: moon run :build --parallel
If you use a private registry:
- name: Setup npm auth
run: |
echo "//registry.example.com/:_authToken=${NPM_TOKEN}" > ~/.npmrc
Use pnpm fetch before install for faster dependency resolution
Cache:
~/.local/share/pnpm.moon/cachePrefer:
pnpm install --prefer-offline
The 22-alpine image is smaller but:
๐ Use only if fully tested in your pipeline
docker run -it --rm \
-v $(pwd):/workspace \
-w /workspace \
rostertools/ci-node-moon:22.22.2-slim bash
Apache License Version 2.0
Issues and PRs are welcome. This project is focused on CI performance and developer experience.
If this image improves your CI times, consider giving it a โญ on Docker Hub or sharing it.
2026 Roster Tools - https://www.roster.liโ
Content type
Image
Digest
sha256:02f71aaf8โฆ
Size
120.7 MB
Last updated
6 months ago
docker pull rostertools/ci-node-moon:22-alpine