Added git support for using Hugo git variables
https://gohugo.io/variables/git/
This commit is contained in:
parent
3274c9db71
commit
b1db27cd59
@ -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 && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user