Base image for websites built with hugo
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

README.adoc 526B

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