Docker images for Forgejo CI/CD runners with various Node.js versions and Docker variants.
docker pull ghcr.io/hidemaruowo/forgejo-runner-docker-image:latest
docker run -d ghcr.io/hidemaruowo/forgejo-runner-docker-image:latest- Runner labels
labels: ["host", "docker:docker://ghcr.io/hidemaruowo/forgejo-runner-docker-image:latest" ]- Docker (for pulling and running the images)
Images are automatically built and pushed to GitHub Container Registry (ghcr.io) monthly.
ghcr.io/hidemaruowo/forgejo-runner-docker-image:latest- Node.js 22 with docker:dind (default)ghcr.io/hidemaruowo/forgejo-runner-docker-image:node22-dind- Node.js 22 with docker:dindghcr.io/hidemaruowo/forgejo-runner-docker-image:node24-dind- Node.js 24 with docker:dindghcr.io/hidemaruowo/forgejo-runner-docker-image:node26-dind- Node.js 26 with docker:dindghcr.io/hidemaruowo/forgejo-runner-docker-image:node22-dind-rootless- Node.js 22 with docker:dind-rootlessghcr.io/hidemaruowo/forgejo-runner-docker-image:node24-dind-rootless- Node.js 24 with docker:dind-rootlessghcr.io/hidemaruowo/forgejo-runner-docker-image:node26-dind-rootless- Node.js 26 with docker:dind-rootlessghcr.io/hidemaruowo/forgejo-runner-docker-image:node22-cli- Node.js 22 with docker:clighcr.io/hidemaruowo/forgejo-runner-docker-image:node24-cli- Node.js 24 with docker:clighcr.io/hidemaruowo/forgejo-runner-docker-image:node26-cli- Node.js 26 with docker:cli
Each image includes:
- Docker (dind or dind-rootless, cli variant)
- Node.js (version 22, 24, or 26)
- npm
- corepack
- bash
- curl
- wget
- git
To build a specific variant:
# Build with Node.js 22 and dind (default)
docker build -t forgejo-runner:node22-dind .
# Build with Node.js 24 and dind
docker build --build-arg NODE_VERSION=24 --build-arg DOCKER_VARIANT=dind -t forgejo-runner:node24-dind .
# Build with Node.js 22 and dind-rootless
docker build --build-arg NODE_VERSION=22 --build-arg DOCKER_VARIANT=dind-rootless -t forgejo-runner:node22-dind-rootless .Images are automatically built and published:
- Monthly on the 1st of each month at 00:00 UTC
- On every push to the main branch
- Can be triggered manually via workflow_dispatch
- docker-library/docker: Dockerfiles, scripts..
