1
mirror of https://github.com/jakejarvis/hugo-docker.git synced 2025-04-26 12:58:28 -04:00

ca certificates

This commit is contained in:
Jake Jarvis 2019-08-26 09:51:20 -04:00
parent a5acf228f7
commit 0b5c563a41
No known key found for this signature in database
GPG Key ID: D36CB66F4002B25B

View File

@ -12,7 +12,10 @@ LABEL repository="https://github.com/jakejarvis/hugo-build-action"
LABEL homepage="https://jarv.is/" LABEL homepage="https://jarv.is/"
LABEL maintainer="Jake Jarvis <jake@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 && \ 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 && \ grep hugo_${HUGO_VERSION}_Linux-64bit.tar.gz hugo_${HUGO_VERSION}_checksums.txt | sha256sum -c && \
tar xf hugo_${HUGO_VERSION}_Linux-64bit.tar.gz && \ tar xf hugo_${HUGO_VERSION}_Linux-64bit.tar.gz && \