1
1
docker-jekyll/Dockerfile

23 lines
721 B
Docker
Raw Normal View History

2021-10-27 11:46:08 +00:00
ARG RUBY_VERSION
2021-10-27 12:24:53 +00:00
FROM ruby:${RUBY_VERSION}
2021-10-26 21:14:56 +00:00
LABEL org.opencontainers.image.authors="hanjo@bunix.de"
2021-10-27 08:04:59 +00:00
ENV DEV_PACKAGES="build-base libffi-dev"
RUN apk add --no-cache ${DEV_PACKAGES}
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
RUN apk del ${DEV_PACKAGES} \
&& rm -rf /var/cache/apk/*