1
1
docker-jekyll/Dockerfile
Hanjo Meinhardt ff2c524df0
All checks were successful
continuous-integration/drone/push Build is passing
add webrick gem
2021-10-27 09:36:33 +02:00

21 lines
735 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} --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 \
&& gem install kramdown-parser-gfm --no-document \
&& gem install webrick --no-document
RUN apk del ${DEV_PACKAGES} \
&& rm -rf /var/cache/apk/*