1
1
docker-jekyll/Dockerfile

19 lines
553 B
Docker
Raw Normal View History

2021-10-26 21:19:35 +00:00
FROM alpine:3.13
2021-10-26 21:14:56 +00:00
LABEL org.opencontainers.image.authors="hanjo@bunix.de"
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"
2021-10-26 21:14:56 +00:00
RUN apk add --no-cache ruby ruby-json libffi libstdc++ ${dev_packages} \
&& rm -rf /var/cache/apk/*
2021-10-26 21:14:56 +00:00
ARG JEKYLL_VERSION
RUN gem install jekyll -v ${JEKYLL_VERSION} \
&& 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-06-10 19:38:54 +00:00
RUN apk del ${dev_packages}