Skip to content

UNwS/jekyll-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jekyll docker

This Docker image can be used for Jekyll build which needs to be compatible with GitHub pages (gh-pages). This is a one-shot way to generate the site local and test if you like Docker :)

HowTo

Custom

  • Add a script "build" in repo with specific Jekyll commands - build will be run instead of standard Jekyll command
    • [optional] use build -r -l {no} -p {port no} : -r can be used to seprate running and other operations -l accept the no of pages -p for the port
  • Options
    • Generate only specific number of posts -l default: all
    • dockerimage -t {latest:bleeding} default: latest
    • port -p default: 4000
    • help -h

Prerequisite

Problem?

File bug at GitHub new issue