Commit Graph
6 Commits
Author SHA1 Message Date
rock 6c751e7f93 fix: alpine base image requires apk, not apt-get + root user for package installs
Problem: Forgejo runner base image is Alpine, not Debian.
-  doesn't exist (Alpine uses )
- Runner user is 1000, can't modify apk database (permission denied)
- CI workflow used GitHub-specific conditionals (contains() doesn't work in Forgejo)

Fixes:
1. Replace apt-get with apk for all runner Dockerfiles
2. Switch to USER root before package installation
3. Switch back to runner user (1000:1000) after
4. Simplify build workflow: build all runners in loop (no conditionals)

Testing:
 Golang runner: docker, node, npm installed
 Node runner: docker, node, npm installed
 Rust runner: docker, node, npm installed

This enables:
- homelab-frontend CI to build/push api-gateway image
- Build workflow to run on node runner with docker available
- All three runners have docker-cli for CI workflows
2026-09-06 06:27:48 -07:00
rock 6ecef14d0e fix: add docker.io to node-runner image
Build and push runner images / build-runners (push) Failing after 9s
2026-09-06 05:53:26 -07:00
rock 709b8b7039 fix: use forgejo/runner as base image, add Node.js on top
Build and push runner images / build-runners (push) Failing after 17s
- All runners now based on code.forgejo.org/forgejo/runner:6 (has runner binary)
- Dockerfile adds Node.js + specialized tools (Go, Rust, docker)
- CI workflow will build custom images and push to registry
- Image Updater will auto-detect and update values.yaml
- ArgoCD will sync new custom images when available
2026-09-05 23:43:21 -07:00
rock cdd0ba2c99 feat: pre-install docker in node-runner image
- Dockerfile.node extends node:22-bookworm with docker.io
- No need for install step in every workflow
- Values-node.yaml references custom image
- Build and push manually (no CI needed)
2026-09-05 23:11:55 -07:00
rock 74d587ca1b chore: revert node-runner to stock image, remove Dockerfile
- Reverted to node:22-bookworm (no custom image)
- Removed Dockerfile.node (no CI to build it)
- Docker install step in riotpiao workflow is already the workaround
2026-09-05 14:33:27 -07:00
rock acc11d5e87 feat: custom forgejo-runner-node image with docker.io pre-installed
Build forgejo-runner-node image / build (push) Failing after 30s
- Dockerfile.node extends node:22-bookworm + docker.io
- CI workflow builds and pushes to forgejo registry on changes
- values-node.yaml references custom image instead of stock node
- Removes need to install docker in every workflow using node runner
2026-09-05 14:20:42 -07:00