Sign inSign up

mvertes/gitlab-runner-node

By mvertes

Updated over 10 years ago

A docker running gitlab-ci runner in node, able to npm install/test

Image
1

1.1K

mvertes/gitlab-runner-node repository overview

docker-gitlab-runner-node

A docker running gitlab-ci runner in node, able to npm install, test, etc.

The image contains a full compilation chain (g++, make, python) in addition to NodeJS.

This repository contains Dockerfile for gcr container, based on the Alpine image.

Install

As a prerequisite, you need Docker to be installed.

To download this image from the public docker hub:

$ docker pull mvertes/gitlab-runner-node

To re-build this image from the dockerfile:

$ docker build -t mvertes/gitlab-runner-node .

Usage

The first time, run in interactive to provide the gitlab server url and registration token:

$ docker run -ti --restart unless-stopped --name gitlab-runner-node mvertes/gitlab-runner-node
[?] Please enter your GitLab CI url: http://gitlab-example.com/ci
[?] Please enter your GitLab CI Registration Token: XXXXXXXXXXXX
gcr info [client] checking for builds...
gcr http 404 http://gitlab-example.com/ci/api/v1/builds/register.json
gcr info [client] checking for builds...

You can then detach by pressing CRTL-P CTRL-Q.

License

MIT

Tag summary

Content type

Image

Digest

Size

77.5 MB

Last updated

over 10 years ago

docker pull mvertes/gitlab-runner-node