2021-10-26 20:53:19 +00:00
|
|
|
FROM alpine:3.14
|
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-03-03 20:32:04 +00:00
|
|
|
ENV dev_packages="ca-certificates build-base libffi-dev ruby-dev ruby-rdoc ruby-irb gcc make musl-dev"
|
2016-11-22 12:25:26 +00:00
|
|
|
|
2021-10-26 21:14:56 +00:00
|
|
|
RUN apk add --no-cache ruby ruby-json libffi libstdc++ ${dev_packages} \
|
2017-09-29 18:17:30 +00:00
|
|
|
&& rm -rf /var/cache/apk/*
|
|
|
|
|
2021-10-26 21:14:56 +00:00
|
|
|
ARG JEKYLL_VERSION
|
|
|
|
RUN gem install jekyll -v ${JEKYLL_VERSION} \
|
2017-09-29 18:17:30 +00:00
|
|
|
&& gem install jekyll-paginate \
|
|
|
|
&& gem install jekyll-auto-image \
|
|
|
|
&& gem install jekyll-tidy \
|
2021-03-03 20:32:04 +00:00
|
|
|
&& gem install jekyll-sitemap \
|
2021-10-26 21:14:56 +00:00
|
|
|
&& gem install bigdecimal
|
2017-09-29 18:17:30 +00:00
|
|
|
|
2017-06-10 19:38:54 +00:00
|
|
|
RUN apk del ${dev_packages}
|