Commit 6b50965d authored by Michał Woźniak's avatar Michał Woźniak

ready for testing

parent d91a35ee
FROM sameersbn/gitlab-ci-multi-runner:0.6.2
FROM sameersbn/gitlab-ci-multi-runner:1.1.4-7
MAINTAINER Michał "rysiek" Woźniak <rysiek@occrp.org>
#
# a Gitlab CI container to be used with Jekyll static site generator
# a Gitlab CI container with ability to install additional packages at buildtime
#
# environment
ENV DEBIAN_FRONTEND=noninteractive
# Ruby and requirements
RUN apt-get update && \
apt-get install -y --no-install-recommends \
ca-certificates \
make \
gcc \
libc-dev-bin \
libc6-dev \
linux-libc-dev \
libc6 \
ruby2.0 \
ruby2.0-dev \
nodejs && \
rm -rf /var/lib/apt/lists/*
# we might need to install some packages, but doing this in the entrypoint doesn't make any sense
ARG INSTALL_PACKAGES=
RUN if [ "$INSTALL_PACKAGES" != "" ]; then \
......@@ -31,8 +16,5 @@ RUN if [ "$INSTALL_PACKAGES" != "" ]; then \
--no-install-recommends && \
rm -rf /var/lib/apt/lists/* ; \
fi
# Jekyll
RUN gem2.0 install jekyll bundle
VOLUME /output
\ No newline at end of file
# Gitlab CI Jekyll runner
# Extendable Gitlab CI Multi runner
A Gitlab CI runner docker image for generating Jekyll-managed static sites. 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-ci-multi-runner`](https://hub.docker.com/r/sameersbn/gitlab-ci-multi-runner/).
## Example `docker-compose` config
```
jekyll-ci:
build: ./gitlab-ci-jekyll-runner
gitlab-ci-runner:
build:
context: https://git.occrp.org/libre/gitlab-ci-multi-runner.git
args:
INSTALL_PACKAGES: "rsync less"
environment:
CI_SERVER_URL: "https://git.example.com/ci"
RUNNER_EXECUTOR: "shell"
RUNNER_DESCRIPTION: "Gitlab CI Jekyll runner"
RUNNER_DESCRIPTION: "Gitlab CI Multi Runner"
RUNNER_TOKEN: "abcdef0123456789abcdef01234567"
volumes:
- "/var/www/:/output/"
- "/var/lib/gitlab-ci-jekyll-runner/:/home/gitlab_ci_multi_runner/data/"
- "/var/lib/gitlab-ci-multi-runner/:/home/gitlab_ci_multi_runner/data/"
```
\ 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