From f2718918690ee46e465e7aecf6f71795dee5d116 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Fri, 28 Feb 2020 21:52:45 -0500 Subject: [PATCH] Install asciidoctor and pygments --- Dockerfile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e1fdc35..07cfcc8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,14 @@ LABEL maintainer="Jake Jarvis " # only install libc6-compat & libstdc++ if we're building extended Hugo # https://gitlab.com/yaegashi/hugo/commit/22f0d5cbd6114210ba7835468facbdee60609aa2 RUN apk update && \ - apk add --no-cache ca-certificates git nodejs ${HUGO_EXTENDED:+libc6-compat libstdc++} && \ + apk add --no-cache \ + ca-certificates \ + git \ + nodejs \ + asciidoctor \ + python3 \ + py3-pygments \ + ${HUGO_EXTENDED:+libc6-compat libstdc++} && \ update-ca-certificates && \ wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_EXTENDED:+extended_}${HUGO_VERSION}_Linux-64bit.tar.gz && \ wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_checksums.txt && \ @@ -27,4 +34,7 @@ RUN apk update && \ chmod +x /usr/bin/hugo && \ rm -rf hugo_* +# make sure everything's okay +RUN hugo version + ENTRYPOINT ["hugo"]