Commit bc8755ac authored by Michał "rysiek" Woźniak's avatar Michał "rysiek" Woźniak
Browse files

First jab at rebasing to the new upstream

parent cf4254c9
FROM sameersbn/gitlab-ci-multi-runner:1.1.4-7 FROM gitlab/gitlab-runner:ubuntu
MAINTAINER Michał "rysiek" Woźniak <rysiek@occrp.org> MAINTAINER Michał "rysiek" Woźniak <rysiek@occrp.org>
# #
...@@ -44,4 +44,4 @@ RUN if [ "$INSTALL_PACKAGES" != "" ]; then \ ...@@ -44,4 +44,4 @@ RUN if [ "$INSTALL_PACKAGES" != "" ]; then \
rm -rf /var/lib/apt/lists/* ; \ rm -rf /var/lib/apt/lists/* ; \
fi fi
VOLUME /output VOLUME ["/etc/gitlab-runner", "/home/gitlab-runner", "/output"]
# Extendable Gitlab CI Multi runner # Extendable Gitlab CI runner
A Gitlab CI runner docker with ability to install packages at buildtime. Based on the great [`gitlab-ci-multi-runner`](https://hub.docker.com/r/sameersbn/gitlab-ci-multi-runner/). A Gitlab CI runner docker with ability to install packages at buildtime. Based on the great [`gitlab-runner`](https://gitlab.com/gitlab-org/gitlab-runner/).
## Example `docker-compose` config ## Example `docker-compose` config
``` ```
gitlab-ci-runner: gitlab-ci-runner:
build: build:
context: https://git.occrp.org/libre/gitlab-ci-multi-runner.git context: https://git.occrp.org/libre/gitlab-runner.git
args: args:
INSTALL_PACKAGES: "rsync less" INSTALL_PACKAGES: "rsync less"
environment: environment:
...@@ -17,5 +17,6 @@ gitlab-ci-runner: ...@@ -17,5 +17,6 @@ gitlab-ci-runner:
RUNNER_TOKEN: "abcdef0123456789abcdef01234567" RUNNER_TOKEN: "abcdef0123456789abcdef01234567"
volumes: volumes:
- "/var/www/:/output/" - "/var/www/:/output/"
- "/var/lib/gitlab-ci-multi-runner/:/home/gitlab_ci_multi_runner/data/" - "/var/lib/gitlab-runner/etc/:/etc/gitlab-runner/"
- "/var/lib/gitlab-runner/home/:/home/gitlab-runner/"
``` ```
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment