FROM alpine:3.13 LABEL org.opencontainers.image.authors="hanjo@bunix.de" ENV dev_packages="ca-certificates build-base libffi-dev ruby-dev ruby-rdoc ruby-irb gcc make musl-dev" RUN apk add --no-cache ruby ruby-json libffi libstdc++ ${dev_packages} \ && rm -rf /var/cache/apk/* ARG JEKYLL_VERSION RUN gem install jekyll -v ${JEKYLL_VERSION} \ && gem install jekyll-paginate \ && gem install jekyll-auto-image \ && gem install jekyll-tidy \ && gem install jekyll-sitemap \ && gem install bigdecimal RUN apk del ${dev_packages}