1
1
docker-jekyll/Dockerfile
Hanjo Meinhardt 2ac8446553
All checks were successful
continuous-integration/drone/push Build is passing
add kramdown-parser-gfm and do some optimization
2021-10-27 08:36:05 +02:00

20 lines
594 B
Docker

FROM alpine:3.13
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}
ARG JEKYLL_VERSION
RUN gem install jekyll -v ${JEKYLL_VERSION} \
&& gem install jekyll-paginate \
&& gem install jekyll-auto-image \
&& gem install jekyll-tidy \
&& gem install jekyll-sitemap \
&& gem install bigdecimal \
&& gem install kramdown-parser-gfm
RUN apk del ${DEV_PACKAGES} \
&& rm -rf /var/cache/apk/*