Base image to build Github's runners.
85
FROM --platform=linux/amd64 viceo/github-runner-base
WORKDIR /github-runner
ARG NAME
ARG LABELS
ARG URL
ARG TOKEN
RUN ./config.sh --unattended \
--name $NAME \
--labels $LABELS \
--url $URL \
--token $TOKEN
ENTRYPOINT [ "/github-runner/run.sh" ]
$ docker build \
-t <your-tag> \
--build-arg NAME=test-runner \
--build-arg LABELS=test,runner,github \
--build-arg URL=https://your-repo-url \
--build-arg TOKEN=<token> \
. # Be sure to build where Dockerfile exists
https://github.com/actions/runner/releases
[v2.299.1] https://github.com/actions/runner/releases/tag/v2.299.1
Content type
Image
Digest
sha256:6dfd08520…
Size
366.9 MB
Last updated
almost 4 years ago
docker pull viceo/github-runner-base:v2.299.1