FROM code.forgejo.org/forgejo/runner:4.0.1
USER root
COPY ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
USER runner
ENTRYPOINT [ "/entrypoint.sh" ]