1
mirror of https://github.com/jakejarvis/hugo-docker.git synced 2025-09-15 22:05:32 -04:00

ca certificates

This commit is contained in:
2019-08-26 09:51:20 -04:00
parent a5acf228f7
commit 0b5c563a41

View File

@@ -12,7 +12,10 @@ LABEL repository="https://github.com/jakejarvis/hugo-build-action"
LABEL homepage="https://jarv.is/"
LABEL maintainer="Jake Jarvis <jake@jarv.is>"
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 && \