Files
gitea-dynamic-runner/container/runner.Dockerfile
T
panxiao81 4277bd907a
test / python (pull_request) Successful in 9s
test / shell (pull_request) Successful in 15s
实现一次性 Pod Runner 后端
2026-09-16 14:26:07 +00:00

9 lines
479 B
Docker

FROM ghcr.io/spiffe/spire-agent:1.15.3@sha256:41b0dcd8b258a69db9e2768292a060766fb76fd866e4bc925849981ea1b825ff AS spire
FROM docker.io/gitea/runner:2@sha256:66d80966792e621c9761c47919644198d35fd1c297e9a01e69ed3c1ae37db0c7
USER root
COPY --from=spire /opt/spire/bin/spire-agent /opt/spire/bin/spire-agent
COPY config/runner.yaml /etc/gitea-runner/config.yaml
COPY scripts/gitea-job-started /usr/local/libexec/gitea-job-started
RUN chmod 0755 /usr/local/libexec/gitea-job-started