alombarte/hugo

By alombarte

Updated 3 months ago

A ready-to-use image to build static sites using Hugo

Image
3

6.9K

alombarte/hugo repository overview

Hugo docker

An alpine docker image with hugo, openssh and git. Used in my CI pipelines.

It comes without the hugo entrypoint.

Usage

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

Source

See Github

Tag summary

Content type

Image

Digest

sha256:9926f2368

Size

97.4 MB

Last updated

3 months ago

docker pull alombarte/hugo:v0.152.2