podmanrunner/templates/runnerimage-Containerfile.erb

8 lines
281 B
Plaintext

FROM code.forgejo.org/forgejo/runner:3.3.0 as runner
FROM quay.io/podman/stable:v4.8.3
COPY --from=runner /bin/forgejo-runner /bin/forgejo-runner
RUN dnf -y install nodejs git
VOLUME ["/data"]
WORKDIR /home/podman
CMD ["/bin/forgejo-runner","daemon","--config","/data/config.yml"]