From c13bfeb6633a34e84284f630a80dee2a67d553e1 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 21 Jun 2022 15:15:18 +0200 Subject: [PATCH] fix: force curl to fail on error --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c75caba..dc01086 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ COPY overlay/ / RUN apk add --update --no-cache --virtual .build-deps tar curl && \ apk add --update --no-cache libc6-compat libstdc++ busybox-suid bash bash-completion git tzdata make asciidoctor && \ echo "Installing hugo version '${HUGO_VERSION##v}' ..." && \ - curl -SsL "https://github.com/gohugoio/hugo/releases/download/${HUGO_VERSION}/hugo_extended_${HUGO_VERSION##v}_Linux-64bit.tar.gz" | \ + curl -SsfL "https://github.com/gohugoio/hugo/releases/download/${HUGO_VERSION}/hugo_extended_${HUGO_VERSION##v}_Linux-64bit.tar.gz" | \ tar xz -C /usr/local/bin hugo && \ chmod 755 /usr/local/bin/hugo && \ ln -s /usr/local/bin/hugo /usr/local/bin/hugo-official && \