Sign inSign up

xaviaznar/hugo

By xaviaznar

Updated about 7 years ago

Containerized version of Hugo (https://gohugo.io/), the static site generator.

Image
0

940

xaviaznar/hugo repository overview

What?

Containerized version of Hugo (https://gohugo.io/), the static site generator.

How?

Defautl CMD:

$ sudo docker run xaviaznar/hugo:0.55.6
0.55.6: digest: sha256:466c3c2757037a520d5364effc485cdf8edcaf6d67154c9648016e2fe4b02709 size: 945

Build

Your local $PWD/site folder must contain a valid Hugo site structure.

$ sudo docker run -v $PWD/site:/site xaviaznar/hugo:0.55.6 build

Dockerfile

FROM busybox:latest
COPY files/hugo /usr/bin/hugo
WORKDIR /site
VOLUME /site
EXPOSE 1313
ENTRYPOINT ["/usr/bin/hugo"]
CMD ["version"]

Tag summary

Content type

Image

Digest

Size

8.8 MB

Last updated

about 7 years ago

docker pull xaviaznar/hugo