Usage
- create a new user
gha
with userid50000
, and add it to the docker group (groupid 48 here) - Download the Github action runner binary to the current folder, refs: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners
- build a local docker image with this Dockerfile
- run ./docker-run.sh
- init the runner inside the docker