From a6d1d3cfd327f9a57cc3ced52aa8fc66c45bd6ec Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Mon, 26 Dec 2022 11:42:13 +0100 Subject: [PATCH] hugo upgrade --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4ce1fd6..c3e2242 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,9 @@ FROM alpine:edge +ARG HUGO_VERSION=0.109.0 + RUN \ apk -U add wget && \ - wget -O - "https://github.com/gohugoio/hugo/releases/download/v0.104.2/hugo_0.104.2_linux-amd64.tar.gz" | tar xvzf - -C /usr/bin + wget -O - "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-amd64.tar.gz" | tar xvzf - -C /usr/bin ENTRYPOINT [ "/usr/bin/hugo" ]