From b1db27cd59335c5c340455bf65d9ed4977efc7ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my=20Jacquin?= Date: Sun, 17 Sep 2017 20:44:42 +0200 Subject: [PATCH] Added git support for using Hugo git variables https://gohugo.io/variables/git/ --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e80e604..ebd34c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,8 @@ ENV HUGO_SHA 0e6cb63e6aca10277b96023c4fed97ac3a3e922d12f073b8a80630946fe289e7 RUN set -eux && \ apk add --update --no-cache \ ca-certificates \ - openssl && \ + openssl \ + git && \ wget -O ${HUGO_VERSION}.tar.gz https://github.com/spf13/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz && \ echo "${HUGO_SHA} ${HUGO_VERSION}.tar.gz" | sha256sum -c && \ tar xf ${HUGO_VERSION}.tar.gz && mv hugo* /usr/bin/hugo && \