kickstart-flavor jekyll :: Jekyll (~>3.8) Github Pages development container
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.
Working with the container
.kick.yml
-directives
Container specific 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"
Apache2
Deploy the container
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"]
Code)
Skeleton (Install a demo page (including config-file etc.) from kickstart-skel
./kickstart.sh --skel jekyll-base