Base image for websites built with hugo
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
Chris Smith 6dfd18ab4e
Upgrade to 0.59.0
4 år sedan
Dockerfile Upgrade to 0.59.0 4 år sedan
README.adoc README 5 år sedan

README.adoc

= Hugo docker image

This is a base image I use for building static websites using https://gohugo.io[Hugo].

It contains a recent version of hugo-extended, https://asciidoctor.org/[AsciiDoctor],
and http://pygments.org/[Pygments] support for them both.

Typical use will look like:

[source,dockerfile]
----
FROM csmith/hugo AS hugo

ADD site /tmp/site
RUN hugo -b https://example.com -v -s /tmp/site -d /tmp/output

# Further process or serve the generated output
FROM another/image

COPY --from=hugo /tmp/output ....
----