fix: force curl to fail on error
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b192ffef65
commit
c13bfeb663
@ -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 && \
|
||||
|
Loading…
Reference in New Issue
Block a user