Jekyll is a static website generator used by github pages. This container lets you on the fly develop websites.
Jekyll comes with an Apache webserver. So you can deploy this container as Static homepage not only for github-pages but as standalone server too.
Demo kick.yml content:
command:
build:
- "jekyll build -s /opt/docs -d /var/www/html"
dev:
- "jekyll watch -s /opt/docs -d /var/www/html --force_polling"
The flavor comes with integrated apache2.4 webserver. Do build the container create a Dockerfile:
FROM infracamp/kickstart-flavor-jekyll:testing
ADD / /opt
RUN ["bash", "-c", "chown -R user /opt"]
RUN ["/kickstart/flavorkit/scripts/start.sh", "build"]
ENTRYPOINT ["/kickstart/flavorkit/scripts/start.sh", "standalone"]
Skeleton (Code)
Install a demo page (including config-file etc.) from kickstart-skel
./kickstart.sh --skel jekyll-base