From 0b5c563a415e7ac1a2070034c90d3c11375e79ff Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Mon, 26 Aug 2019 09:51:20 -0400 Subject: [PATCH] ca certificates --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 && \