fix: force curl to fail on error
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2022-06-21 15:15:20 +02:00
parent 783fecbccd
commit dbf3780c94
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -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/* && \