1
1
docker-jekyll/Dockerfile

21 lines
643 B
Docker
Raw Normal View History

2021-10-27 08:04:59 +00:00
FROM ruby:3-alpine
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 \
&& 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/*