Base Image: Alpine Edge
Hugo Version: 0.42.1
Github Repository: https://github.com/lfkeitel/hugo-docker
This is and up-to-date build of Hugo in Alpine.
Mount your site data to /site and just run the container:
docker run --rm -v $PWD:/site -u $(id -u $USER):$(id -g $USER) lfkeitel/hugo
The id pieces are so the created public directory is owned by your own user instead of root. When using in a multistage build you may not need to worry about file ownership.
Content type
Image
Digest
Size
24.9 MB
Last updated
almost 7 years ago
docker pull lfkeitel/hugo