- Based on ubuntu 16.04
- Gitalb-CI-Multirunner 9.5.0
- Maven 3.3.9
- Openjdk8
Download docker-compose.yml into any directory, enter your gitlab-ci URL, and project token (from Settings-Runners).
Delete selenium service, and link on it, if you don't need it. And after just run
sudo docker-compose up
$ sudo docker pull elkemper/maven-ci-runner
$ sudo docker run -d -e CI_SERVER_URL=#{your gitlab-ci URL} \
-e RUNNER_TOKEN=#{gitlab's project token} \
-e RUNNER_DESCRIPTION=#{name for runner} \
-e RUNNER_EXECUTOR=shell \
-v /srv/docker/gitlab-runner:/home/gitlab_ci_multi_runner/data \
elkemper/maven-ci-runner