Base image for websites built with hugo
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Chris Smith 6dfd18ab4e
Upgrade to 0.59.0
il y a 4 ans
Dockerfile Upgrade to 0.59.0 il y a 4 ans
README.adoc README il y a 5 ans

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 ....
----