Add file
This commit is contained in:
21
Dockerfile
Normal file
21
Dockerfile
Normal 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.
|
||||
Reference in New Issue
Block a user