update entrypoint and dockerfile, fix test workflow

update dockerfile,

rework entrypoint execution,

update compose and test
This commit is contained in:
Merith 2024-09-25 15:21:53 -07:00
parent 3c5ba1c1d2
commit c1654806c5
5 changed files with 112 additions and 40 deletions

6
Dockerfile.rootless Normal file
View file

@ -0,0 +1,6 @@
FROM code.forgejo.org/forgejo/runner:3.4.1
USER 1000:1000
## In Theory these can be removed on next release of the runner image
COPY --chown=forgejo-runner:forgejo-runner --chmod=555 ./entrypoint.sh /entrypoint
ENTRYPOINT [ "/entrypoint" ]