Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
64 lines (36 sloc) 1.83 KB

kickstart-flavor jekyll :: Jekyll (~>3.8) Github Pages development container

Docker Build status Docker Pulls See Website

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

Container specific .kick.yml-directives

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"]

Skeleton (Code)

Install a demo page (including config-file etc.) from kickstart-skel

./kickstart.sh --skel jekyll-base
You can’t perform that action at this time.