From 349722759ecda9669db59d38e828481c028b6395 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Tue, 23 Nov 2021 13:50:04 -0500 Subject: [PATCH] Use --location to make curl follow redirects (#12173) Co-authored-by: Andrei Litvin --- integrations/docker/images/chip-build-nrf-platform/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/docker/images/chip-build-nrf-platform/Dockerfile b/integrations/docker/images/chip-build-nrf-platform/Dockerfile index fffe75bd2b0996..45e68edabb6d57 100644 --- a/integrations/docker/images/chip-build-nrf-platform/Dockerfile +++ b/integrations/docker/images/chip-build-nrf-platform/Dockerfile @@ -19,7 +19,7 @@ RUN set -x \ SHELL ["/bin/bash", "-o", "pipefail", "-c"] RUN set -x \ && mkdir -p /opt/NordicSemiconductor/nRF5_tools/ \ - && curl https://www.nordicsemi.com/-/media/Software-and-other-downloads/Desktop-software/nRF-command-line-tools/sw/Versions-10-x-x/10-12-1/nRFCommandLineTools10121Linuxamd64.tar.gz \ + && curl --location https://www.nordicsemi.com/-/media/Software-and-other-downloads/Desktop-software/nRF-command-line-tools/sw/Versions-10-x-x/10-12-1/nRFCommandLineTools10121Linuxamd64.tar.gz \ | tar zxvf - \ && tar xvf JLink_Linux_V688a_x86_64.tgz -C /opt/NordicSemiconductor/nRF5_tools/ \ && tar xvf nRF-Command-Line-Tools_10_12_1.tar -C /opt/NordicSemiconductor/nRF5_tools/ \