diff --git a/Dockerfile b/Dockerfile index b5a7f2f..00f8b76 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,10 @@ LABEL repository="https://github.com/jakejarvis/hugo-build-action" LABEL homepage="https://jarv.is/" LABEL maintainer="Jake Jarvis " -RUN wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz && \ +RUN apk update && \ + apk add --no-cache ca-certificates && \ + update-ca-certificates && \ + wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz && \ wget https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_checksums.txt && \ grep hugo_${HUGO_VERSION}_Linux-64bit.tar.gz hugo_${HUGO_VERSION}_checksums.txt | sha256sum -c && \ tar xf hugo_${HUGO_VERSION}_Linux-64bit.tar.gz && \