Dockerfile 616 Bytes
Newer Older
Michał 'rysiek' Woźniak's avatar
Michał 'rysiek' Woźniak committed
1 2 3 4
FROM sameersbn/gitlab-ci-multi-runner:0.6.2
MAINTAINER Michał "rysiek" Woźniak <rysiek@occrp.org>

#
5
# a Gitlab CI container to be used with Jekyll static site generator
Michał 'rysiek' Woźniak's avatar
Michał 'rysiek' Woźniak committed
6 7 8 9
#

# environment
ENV DEBIAN_FRONTEND=noninteractive 
10

Michał 'rysiek' Woźniak's avatar
fixed  
Michał 'rysiek' Woźniak committed
11
# Ruby and requirements
Michał 'rysiek' Woźniak's avatar
Michał 'rysiek' Woźniak committed
12 13 14 15 16
RUN apt-get update && \
    apt-get install -y --no-install-recommends \
        ca-certificates \
        make \
        gcc \
Michał 'rysiek' Woźniak's avatar
fixed  
Michał 'rysiek' Woźniak committed
17 18 19 20
        libc-dev-bin \
        libc6-dev \
        linux-libc-dev \
        libc6 \
21
        ruby2.0 \
Michał 'rysiek' Woźniak's avatar
fixed  
Michał 'rysiek' Woźniak committed
22 23
        ruby2.0-dev \
        nodejs && \
24 25 26
    rm -rf /var/lib/apt/lists/*
    
# Jekyll
Michał 'rysiek' Woźniak's avatar
fixed  
Michał 'rysiek' Woźniak committed
27
RUN gem2.0 install jekyll bundle
Michał 'rysiek' Woźniak's avatar
Michał 'rysiek' Woźniak committed
28 29

VOLUME /output