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)
This commit is contained in:
2026-09-05 23:11:55 -07:00
parent 1777188f85
commit cdd0ba2c99
2 changed files with 15 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
FROM node:22-bookworm
# Install Docker client (dind sidecar provides the daemon)
RUN apt-get update && \
apt-get install -y --no-install-recommends \
docker.io \
git \
curl \
ca-certificates && \
rm -rf /var/lib/apt/lists/*
# Verify installations
RUN docker --version && node --version && git --version
+2 -1
View File
@@ -6,7 +6,8 @@
# (homelab has no CI; custom runner images built manually if desired)
runner:
name: node-runner
labels: "node:docker://node:22-bookworm"
# Custom image: node:22-bookworm + docker.io pre-installed
labels: "node:docker://forgejo.riotpiao.com/rock/forgejo-runner-node:latest"
# GC CronJob renders only from the default (golang) values to avoid duplicates
gc: