2021-10-26 21:19:35 +00:00
|
|
|
FROM alpine:3.13
|
2016-11-22 12:25:26 +00:00
|
|
|
|
2021-10-26 21:14:56 +00:00
|
|
|
LABEL org.opencontainers.image.authors="hanjo@bunix.de"
|
2016-11-22 12:25:26 +00:00
|
|
|
|
2021-10-27 06:36:05 +00:00
|
|
|
ENV DEV_PACKAGES="build-base libffi-dev ruby-dev ruby-rdoc ruby-irb gcc make musl-dev"
|
2016-11-22 12:25:26 +00:00
|
|
|
|
2021-10-27 06:36:05 +00:00
|
|
|
RUN apk add --no-cache ca-certificates ruby ruby-json libffi libstdc++ ${DEV_PACKAGES}
|
2017-09-29 18:17:30 +00:00
|
|
|
|
2021-10-26 21:14:56 +00:00
|
|
|
ARG JEKYLL_VERSION
|
2021-10-27 06:48:58 +00:00
|
|
|
RUN gem install jekyll -v ${JEKYLL_VERSION} --no-document \
|
|
|
|
&& gem install jekyll-paginate --no-document \
|
|
|
|
&& gem install jekyll-auto-image --no-document \
|
|
|
|
&& gem install jekyll-tidy --no-document \
|
|
|
|
&& gem install jekyll-sitemap --no-document \
|
|
|
|
&& gem install bigdecimal --no-document \
|
2021-10-27 07:36:33 +00:00
|
|
|
&& gem install kramdown-parser-gfm --no-document \
|
|
|
|
&& gem install webrick --no-document
|
2017-09-29 18:17:30 +00:00
|
|
|
|
2021-10-27 06:36:05 +00:00
|
|
|
RUN apk del ${DEV_PACKAGES} \
|
|
|
|
&& rm -rf /var/cache/apk/*
|