Merge branch 'use-gohugoio-org' into 'registry'

Use gohugoio org inread of spf13 during source downloading

See merge request pages/hugo!91
This commit is contained in:
Achilleas Pipinellis 2019-09-16 10:38:11 +00:00
commit 02b48f3f55

View File

@ -18,7 +18,7 @@ RUN set -eux && \
HUGO_SHA="${HUGO_EXTENDED_SHA}" ;; \
esac && \
apk add --update --no-cache ca-certificates 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 && \
wget -O ${HUGO_VERSION}.tar.gz https://github.com/gohugoio/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
RUN go get github.com/yaegashi/muslstack