This is an Ubuntu Dockerfile for self hosted GitHub Action.
Report an issue
You must specify 3 vaild arguments (org, repo and token) to build the Dockerfile.
docker build --build-arg org=<OrganizationNameHere> --build-arg repo=<RepoNameHere> --build-arg token=<ActionsRunnerTokenHere> -t dockerizied-self-hosted-runner .
To connect to the Docker image to execute bash commands.
docker run -it dockerizied-self-hosted-runner sh
To stop the Docker image.
Ctrl + C
To completely remove the dockerized self hosted runner.