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
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
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 installation
|
||||
RUN docker --version && node --version
|
||||
@@ -2,12 +2,11 @@
|
||||
# runner instance. Only runner.name and runner.labels differ -- everything
|
||||
# else (image, dind, persistence, tolerations, nodeSelector) is shared.
|
||||
#
|
||||
# forgejo-runner-node extends node:22-bookworm with docker.io, so Node + Docker
|
||||
# are both available. Built and pushed via homelab CI (build-runner-node.yml).
|
||||
# node:22-bookworm ships Node natively. Docker client installed via workflow step if needed.
|
||||
# (homelab has no CI; custom runner images built manually if desired)
|
||||
runner:
|
||||
name: node-runner
|
||||
# Custom image extends node:22-bookworm with docker.io pre-installed
|
||||
labels: "node:docker://forgejo.riotpiao.com/rock/forgejo-runner-node:latest"
|
||||
labels: "node:docker://node:22-bookworm"
|
||||
|
||||
# GC CronJob renders only from the default (golang) values to avoid duplicates
|
||||
gc:
|
||||
|
||||
Reference in New Issue
Block a user