Sign inSign up

mrtrustor/hugo

By mrtrustor

Updated about 8 years ago

Docker image containing Hugo static site generator and Pygments for syntax highlighting

Image
0

631

mrtrustor/hugo repository overview

Hugo static site generator

This image contains Hugo, a static site generator, and Pygments that Hugo uses for syntax highlighting.

Inside the container, Hugo will look for the sources in the /var/tmp/site directory. So you can use this container like this (assuming you are at the root of your Hugo codebase):

docker run --user $(id -u) -v $(pwd):/var/tmp/site mrtrustor/hugo:0.17

Generated files will be in the public folder.

Dockerfile

The Dockerfile is available on Github.

Tag summary

Content type

Image

Digest

Size

25.8 MB

Last updated

about 8 years ago

docker pull mrtrustor/hugo:0.46