ContainersWorkspace/gitea-runner/Containerfile
Maciej Lebiest bb1468170d
All checks were successful
Build images / build-images-arm64 (push) Successful in 11m34s
Build images / build-images-amd64 (push) Successful in 13m59s
Build images / update-images-manifests (push) Successful in 36s
Containerfiles, add rclone, rsync to toolboxes
2024-02-11 20:07:07 +01:00

20 lines
509 B
Docker

FROM quay.io/podman/stable
RUN mkdir -p /opt /var/run && \
ln -sf /podman/docker.sock /var/run/docker.sock
RUN dnf install -y make go git && \
cd /tmp && \
git clone https://gitea.com/gitea/act_runner.git && \
cd act_runner && \
make build && \
mv /tmp/act_runner/act_runner /opt/ && \
chown podman /opt/act_runner && \
dnf remove -y make go git && \
dnf autoremove -y && \
dnf clean all && \
rm -rf /tmp/* /root/go
USER podman
ENTRYPOINT [ "/opt/act_runner" ]