2016-11-22 12:25:26 +00:00
|
|
|
FROM alpine:3.4
|
|
|
|
|
|
|
|
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
|
|
|
RUN apk update && apk upgrade
|
|
|
|
|
2016-11-22 12:27:03 +00:00
|
|
|
RUN apk add ruby ruby-json ${dev_packages}
|
2016-11-22 12:25:26 +00:00
|
|
|
|
|
|
|
RUN rm -rf /var/cache/apk/*
|
|
|
|
|
2016-11-22 12:27:03 +00:00
|
|
|
RUN gem install jekyll
|
|
|
|
|
|
|
|
RUN apk del ${dev_packages}
|