Sign inSign up

danjellz/docker-jekyll

By danjellz

Updated over 8 years ago

Lightweight Docker image for the Jekyll Blogging platform.

Image
1

4.3K

danjellz/docker-jekyll repository overview

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.

ImageBase imageSize
grahamc/jekyllUbuntu807 MB
danjellz/docker-jekyllAlpine354 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

Tag summary

Content type

Image

Digest

Size

121.8 MB

Last updated

over 8 years ago

docker pull danjellz/docker-jekyll