This commit is contained in:
2025-08-12 19:13:48 +02:00
parent 10397dfc53
commit 99b2bcf886
3 changed files with 287 additions and 4 deletions

21
Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
# syntax=docker/dockerfile:1.7
FROM gitea/act_runner:latest
USER root
# Core tools for CI
RUN apk add --no-cache \
nodejs npm coreutils \
docker-cli docker-cli-compose \
git git-lfs openssh-client \
build-base bash curl jq unzip zip ca-certificates \
&& git lfs install --system \
&& npm --version && node --version
# Optional: enable Corepack (yarn/pnpm shims)
RUN corepack enable || true
# Use host backend by default; override via compose env if you like
ENV GITEA_RUNNER_LABELS="ap-host:host"
WORKDIR /data
# act_runner has its own entrypoint; nothing else needed.