You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
715 B
Docker
23 lines
715 B
Docker
ARG RUBY_VERSION
|
|
FROM ruby:${RUBY_VERSION}
|
|
|
|
LABEL org.opencontainers.image.authors="hanjo@bunix.de"
|
|
|
|
ENV DEV_PACKAGES="build-base libffi-dev"
|
|
RUN apk add --no-cache ${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 jekyll-copyr --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/*
|