build: add docker.io to golang runner base image
Build and push runner images / build-runners (push) Failing after 8s
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:
@@ -1,10 +1,11 @@
|
|||||||
FROM code.forgejo.org/forgejo/runner:6
|
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 && \
|
RUN apt-get update && \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
nodejs \
|
nodejs \
|
||||||
npm && \
|
npm \
|
||||||
|
docker.io && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Verify installations
|
# Verify installations
|
||||||
|
|||||||
Reference in New Issue
Block a user