Sign inSign up

alombarte/hugo

By alombarte

•Updated 7 months ago

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

Image
3

9.7K

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:da3a0cab3…

Size

98.5 MB

Last updated

7 months ago

docker pull alombarte/hugo