A ready-to-use image to build static sites using Hugo
6.9K
An alpine docker image with hugo, openssh and git. Used in my CI pipelines.
It comes without the hugo entrypoint.
To build your hugo site in the default public directory run the following:
docker run -v "${PWD}:/site" alombarte/hugo hugo
If you don't want to use the latest hugo version but a specific one, use the desired tag. For instance, to use the old 0.49:
docker run -v "${PWD}:/site" alombarte/hugo hugo:v0.49
See Github
Content type
Image
Digest
sha256:9926f2368…
Size
97.4 MB
Last updated
3 months ago
docker pull alombarte/hugo:v0.152.2