maintained by ServerContainers
FAQ - All you need to know about the servercontainers Containers
This Dockerfile (available as servercontainers/gitlab-runner) and gives you a gitlab-runner with optional docker support in a container.
For Configuration of the Server you use environment Variables and to register run once manually.
It's based on the debian:stretch Image
View in Docker Registry servercontainers/gitlab-runner
View in GitHub ServerContainers/gitlab-runner
Run this container a privileged container if you don't plan to disable docker.
docker run -ti --rm -v $PWD'/config:/etc/gitlab-runner' --privileged servercontainers/gitlab-runner:latest gitlab-runner register -c /etc/gitlab-runner/config.toml
just answer all the following questions and you'll end up with a gitlab connection.
- DISABLE_DOCKER
- set this to true to disable the docker daemon inside
- default it's not set and docker is enabled
- /etc/gitlab-runner
- place to store the gitlab-runner config
- needed to hold persistent connection to gitlab