1
1
docker-jekyll/Dockerfile

20 lines
594 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"
ENV DEV_PACKAGES="build-base libffi-dev ruby-dev ruby-rdoc ruby-irb gcc make musl-dev"
RUN apk add --no-cache ca-certificates ruby ruby-json libffi libstdc++ ${DEV_PACKAGES}
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 \
&& gem install bigdecimal \
&& gem install kramdown-parser-gfm
RUN apk del ${DEV_PACKAGES} \
&& rm -rf /var/cache/apk/*