From dbf3780c94349e8980e0a8c76c00980581812223 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 21 Jun 2022 15:15:20 +0200 Subject: [PATCH] fix: force curl to fail on error --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8330acc..4c6d9e6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,9 +24,9 @@ ENV LINK_VALIDATOR_BASE_DIR=/drone/src \ COPY overlay/ / RUN apt-get update && apt-get install -y curl bash ncat media-types && \ - curl -SsL "https://gitea.rknet.org/docker/container-library/releases/download/${CONTAINER_LIBRARY}/container-library.tar.gz" | tar xz -C / && \ + curl -SsfL "https://gitea.rknet.org/docker/container-library/releases/download/${CONTAINER_LIBRARY}/container-library.tar.gz" | tar xz -C / && \ curl -sSL "https://github.com/caddyserver/caddy/releases/download/${CADDY_VERSION}/caddy_${CADDY_VERSION##v}_linux_amd64.tar.gz" | tar xz -C /usr/local/bin caddy && \ - curl -SsL -o /usr/local/bin/wait-for "https://github.com/thegeeklab/wait-for/releases/download/${WAIT_FOR_VERSION}/wait-for" && \ + curl -SsfL -o /usr/local/bin/wait-for "https://github.com/thegeeklab/wait-for/releases/download/${WAIT_FOR_VERSION}/wait-for" && \ chmod 755 /usr/local/bin/caddy && \ chmod 755 /usr/local/bin/wait-for && \ rm -rf /var/lib/apt/lists/* && \