2021-10-27 11:46:08 +00:00
|
|
|
ARG RUBY_VERSION
|
2021-10-27 12:24:53 +00:00
|
|
|
FROM ruby:${RUBY_VERSION}
|
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 08:04:59 +00:00
|
|
|
ENV DEV_PACKAGES="build-base libffi-dev"
|
|
|
|
RUN apk add --no-cache ${DEV_PACKAGES}
|
2016-11-22 12:25:26 +00:00
|
|
|
|
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 \
|
2022-04-19 15:21:09 +00:00
|
|
|
&& gem install jekyll-node-module --no-document \
|
2021-10-27 06:48:58 +00:00
|
|
|
&& 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/*
|