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:
parent
a5acf228f7
commit
0b5c563a41
@ -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 && \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user