1
1
docker-jekyll/Dockerfile
bunix42 45a2f96a51
All checks were successful
continuous-integration/drone/push Build is passing
add missing runtime libs
2021-03-03 21:02:47 +00:00

19 lines
539 B
Docker

FROM alpine:3.13
MAINTAINER Hanjo Meinhardt <hanjo@bunix.de>
ENV dev_packages="ca-certificates build-base libffi-dev ruby-dev ruby-rdoc ruby-irb gcc make musl-dev"
RUN apk update && apk upgrade \
&& apk add ruby ruby-json libffi libstdc++ ${dev_packages} \
&& rm -rf /var/cache/apk/*
RUN gem install jekyll -v <VERSION> \
&& gem install jekyll-paginate \
&& gem install jekyll-auto-image \
&& gem install jekyll-tidy \
&& gem install jekyll-sitemap \
&& gem install bigdecimal
RUN apk del ${dev_packages}