Sign inSign up

jackliusr/hugo-builder

By jackliusr

Updated over 4 years ago

Image
0

615

jackliusr/hugo-builder repository overview

Hugo Builder

Dockerfile for a container image intended to run the Hugo static site generator with Asciidoctor. It is expected that syntax highlighting will rely on [highlight.js].

This image also packs asciidoctor-diagram to generate plantuml diagrams among others.

Use by running the following from within a Hugo project directory:

docker run --rm -v $PWD:/src bric3/hugo-builder hugo --buildDrafts

Or serve the files (--bind=0.0.0.0 is necessary)

docker run --rm --volume $PWD:/src --publish "0.0.0.0:1313:1313" bric3/hugo-builder hugo serve --bind=0.0.0.0 --baseUrl=blog.local --buildDrafts

Tag summary

Content type

Image

Digest

Size

448.9 MB

Last updated

over 4 years ago

docker pull jackliusr/hugo-builder