Base image for websites built with hugo
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
Chris Smith 6dfd18ab4e
Upgrade to 0.59.0
4 anos atrás
Dockerfile Upgrade to 0.59.0 4 anos atrás
README.adoc README 5 anos atrás

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