From 24df4b3994672e94a8cdbcc0ed9efe64391e95c4 Mon Sep 17 00:00:00 2001 From: nevaforget Date: Wed, 1 Apr 2026 16:57:24 +0200 Subject: [PATCH] Add custom Arch-based act_runner image Runner based on archlinux:base-devel with git, curl, makepkg. Runs as non-root builder user so makepkg works natively without permission workarounds. Registration data stored in /data volume. --- ci/act-runner/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ci/act-runner/Dockerfile b/ci/act-runner/Dockerfile index cd829a2..34698e0 100644 --- a/ci/act-runner/Dockerfile +++ b/ci/act-runner/Dockerfile @@ -1,7 +1,10 @@ FROM archlinux:base-devel -RUN pacman -Sy --noconfirm git curl && pacman -Scc --noconfirm && useradd -m builder && echo "builder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers +RUN pacman -Sy --noconfirm git curl && pacman -Scc --noconfirm +RUN useradd -m builder && echo "builder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers ADD https://gitea.com/gitea/act_runner/releases/download/v0.3.1/act_runner-0.3.1-linux-amd64 /usr/local/bin/act_runner RUN chmod +x /usr/local/bin/act_runner COPY --from=gitea/act_runner:latest /usr/local/bin/run.sh /usr/local/bin/run.sh -ENV HOME=/root +RUN mkdir -p /data && chown builder:builder /data +USER builder +ENV HOME=/home/builder ENTRYPOINT ["/usr/local/bin/run.sh"]