2017-09-29 18:17:30 +00:00
|
|
|
FROM alpine:3.4
|
2016-11-22 12:25:26 +00:00
|
|
|
|
|
|
|
MAINTAINER Hanjo Meinhardt <hanjo@bunix.de>
|
|
|
|
|
2016-11-22 12:27:03 +00:00
|
|
|
ENV dev_packages="ca-certificates build-base libffi-dev ruby-dev ruby-rdoc ruby-irb"
|
2016-11-22 12:25:26 +00:00
|
|
|
|
2017-09-29 18:17:30 +00:00
|
|
|
RUN apk update && apk upgrade \
|
|
|
|
&& apk add ruby ruby-json ${dev_packages} \
|
|
|
|
&& rm -rf /var/cache/apk/*
|
|
|
|
|
|
|
|
RUN gem install jekyll -v <VERSION> \
|
|
|
|
&& gem install jekyll-paginate \
|
|
|
|
&& gem install jekyll-auto-image \
|
|
|
|
&& gem install jekyll-tidy \
|
|
|
|
&& gem install jekyll-sitemap
|
|
|
|
|
2017-06-10 19:38:54 +00:00
|
|
|
RUN apk del ${dev_packages}
|