docker-jekyll/Dockerfile

23 lines
715 B
Docker
Raw Permalink Normal View History

2021-10-27 13:46:08 +02:00
ARG RUBY_VERSION
2021-10-27 14:24:53 +02:00
FROM ruby:${RUBY_VERSION}
2021-10-26 23:14:56 +02:00
LABEL org.opencontainers.image.authors="hanjo@bunix.de"
2021-10-27 10:04:59 +02:00
ENV DEV_PACKAGES="build-base libffi-dev"
RUN apk add --no-cache ${DEV_PACKAGES}
2021-10-26 23:14:56 +02:00
ARG JEKYLL_VERSION
2021-10-27 08:48:58 +02: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 jekyll-copyr --no-document \
2021-10-27 08:48:58 +02:00
&& gem install bigdecimal --no-document \
2021-10-27 09:36:33 +02:00
&& gem install kramdown-parser-gfm --no-document \
&& gem install webrick --no-document
RUN apk del ${DEV_PACKAGES} \
&& rm -rf /var/cache/apk/*