Skip to content

danjellesma/docker-jekyll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

GitHub issues GitHub stars GitHub forks CircleCI

Simple, Lightweight Docker-Jekyll Image

This is the source for a lightweight Docker image for the Jekyll blog system.

It was inspired by grahamc's image which can be found here.

Why use this image?

The differentiator between the two images is the base image they are built from. Grahamc's is based on Ubuntu and this is based on Alpine Linux.

Image Base image Size
grahamc/jekyll Ubuntu 807 MB
danjellz/docker-jekyll Alpine 354 MB

That is a difference of 454 MB -- 56% smaller!

Functionality

If you were using Grahamc's image you should be able to use this as a drop in replacement. It has all the same gems installed.

Use example:

sudo docker run --rm -v "$PWD:/src" danjellz/docker-jekyll build

or for repeated calls:

alias jekyll='sudo docker run --rm -v "$PWD:/src" -p 4000:4000 grahamc/jekyll'
jekyll build
jekyll serve -H 0.0.0.0

run as a background daemon:

sudo docker run -d -v "$PWD:/src" -p 4000:4000 danjellz/docker-jekyll serve -H 0.0.0.0

Goodies

  • Supports pygments syntax highlighting
  • Supports Github Pages
  • Supports Jekyll Redirect From
  • Supports Kramdown
  • Supports RDiscount
  • Supports Rouge

License: Public Domain

About

Lightweight Docker image for the Jekyll Blogging platform.

Resources

Stars

Watchers

Forks

Packages

No packages published