21 lines
600 B
Docker
21 lines
600 B
Docker
# 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. |