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