Dockerfile 748 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
Michał 'rysiek' Woźniak committed
11 12 13 14 15 16 17 18 19 20
RUN apt-get update && \
    apt-get install -y --no-install-recommends \
        ca-certificates \
        software-properties-common \
        make \
        gcc \
        nodejs && \
    rm -rf /var/lib/apt/lists/*


21 22
# Backports for new Ruby and great justice
RUN apt-add-repository ppa:brightbox/ruby-ng
Michał 'rysiek' Woźniak's avatar
Michał 'rysiek' Woźniak committed
23

24
# Ruby
25
RUN apt-get update && \
26
    apt-get install -y --no-install-recommends \
27
        ruby2.0 \
Michał 'rysiek' Woźniak's avatar
Michał 'rysiek' Woźniak committed
28
        ruby2.0-dev && \
29 30 31 32
    rm -rf /var/lib/apt/lists/*
    
# Jekyll
RUN gem install jekyll bundle
Michał 'rysiek' Woźniak's avatar
Michał 'rysiek' Woźniak committed
33 34

VOLUME /output