Sign inSign up

loganmzz/jekyll

By loganmzz

•Updated over 8 years ago

Docker images for generating sites with Jekyll

Image
0

275

loganmzz/jekyll repository overview

⁠Manage Jekyll through Docker

Docker images for generating sites with Jekyll

⁠Usage

Images doesn't directly contain Jekyll. It must be provided through a gem local to your project. So, workspace must be mounted with your "identity" to /data:

# Update gems
docker run --rm -ti -v "$(pwd):/data" -u "$(id -u)" loganmzz/jekyll bundle install

# Buid site
docker run --rm -ti -v "$(pwd):/data" -u "$(id -u)" loganmzz/jekyll bundle exec jekyll build

# Serve
docker run --rm -ti -v "$(pwd):/data" -u "$(id -u)" -p 4000:4000 loganmzz/jekyll bundle exec jekyll serve -H 0.0.0.0

⁠Versions

Tags don't match with component version. Instead here is the version matrix:

Image tagRubyBundlerNode.js
latest2.5.01.16.19.5.0
1.0.02.5.01.16.19.5.0

Tag summary

Content type

Image

Digest

Size

354.2 MB

Last updated

over 8 years ago

docker pull loganmzz/jekyll