Public | Automated Build

Last pushed: 3 months ago
Short Description
GitLab Runner
Full Description





Alpine Linux Gitlab Runner

Docker Registries

  • datacore/gitlab-runner:latest (DockerHub)
  • registry.timmertech.nl/docker/gitlab-runner:latest (registry.timmertech.nl)

Source Repositories

Installation

Install from DockerHub

Download:

docker pull datacore/gitlab-runner:latest

Build:

docker build -t datacore/gitlab-runner https://github.com/GJRTimmer/docker-gitlab-runner

Install from timmertech

Download:

docker pull registry.timmertech.nl/docker/gitlab-runner:latest

Build:

docker build -t datacore/gitlab-runner https://gitlab.timmertech.nl/docker/gitlab-runner

Components

  • gitlab-runner
  • docker-engine
  • docker-compose
  • docker-machine

Volumes

Variable Default Description
DATA /data Data directory, persistent volume location
CA_CERTIFICATES_PATH GITLAB_RUNNER_DATA/certs/ca.crt Location for CA certificate file

Configuration

Gitlab Runner Options

Variable Default Description
CI_SERVER_URL - CI URL; example: gitlab.com/ci
REGISTRATION_TOKEN - Gitlab Runner token
RUNNER_EXECUTOR shell Runner executor
RUNNER_NAME gitlab-runner Runner name
RUNNER_TAG_LIST - Runner Tag list
RUNNER_PRE_CLONE_SCRIPT - Runner-specific command script executed before code is pulled
RUNNER_PRE_BUILD_SCRIPT - Runner-specific command script executed after code is pulled, just before build executes
RUNNER_DOCKER_IMAGE docker:latest Default docker image ton use if executor is docker

GitLab Runner SSH Options

Variable Default Description
SSH_USER - User name
SSH_PASSWORD - User password
SSH_HOST - Remote host
SSH_PORT - Remote host port
SSH_IDENTITY_FILE - Identity file to be used

GitLab Runner Docker Options

Variable Default Description
DOCKER_IMAGE docker:latest Docker image to be used
Docker Pull Command
Owner
datacore
Source Repository

Comments (0)