Base image for websites built with hugo
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
Chris Smith 6dfd18ab4e
Upgrade to 0.59.0
4 年前
Dockerfile Upgrade to 0.59.0 4 年前
README.adoc README 4 年前

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