build: add docker.io to golang runner base image
Build and push runner images / build-runners (push) Failing after 8s

Pre-install docker.io so golang projects don't need to install on every build.
Avoids duplicating 'apt-get install docker.io' in every CI workflow.
This commit is contained in:
2026-09-06 05:56:12 -07:00
parent 6ecef14d0e
commit 6b7e556d81
+3 -2
View File
@@ -1,10 +1,11 @@
FROM code.forgejo.org/forgejo/runner:6
# Install Node.js (needed for GitHub Actions checkout@v4, etc.)
# Install Node.js + Docker client (needed for GitHub Actions + docker build)
RUN apt-get update && \
apt-get install -y --no-install-recommends \
nodejs \
npm && \
npm \
docker.io && \
rm -rf /var/lib/apt/lists/*
# Verify installations