project-chip / connectedhomeip

Matter (formerly Project CHIP) creates more connections between more objects, simplifying development for manufacturers and increasing compatibility for consumers, guided by the Connectivity Standards Alliance.
https://buildwithmatter.com
Apache License 2.0
7.33k stars 1.97k forks source link

nRF Docker image doesn't build #4655

Closed woody-apple closed 3 years ago

woody-apple commented 3 years ago

Problem

 ---> Running in 7f43ad14d5bf
+ mkdir -p /opt/NordicSemiconductor/nRF5_tools
+ cd /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-7-0/nRFCommandLineTools1070Linuxamd64tar.gz
+ tar zxvf -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   121  100   121    0     0     83      0  0:00:01  0:00:01 --:--:--    83

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
The command '/bin/sh -c set -x     && (mkdir -p /opt/NordicSemiconductor/nRF5_tools && cd /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-7-0/nRFCommandLineTools1070Linuxamd64tar.gz     | tar zxvf -     && dpkg -i --force-depends JLink_Linux_*.deb     && dpkg -i --force-depends nRF-Command-Line-Tools_*.deb     && tar zxvf nRF-Command-Line-Tools_*.tar.gz)     && rm -rf /opt/NordicSemiconductor/nRF5_tools/*.tar.gz     && rm -rf /opt/NordicSemiconductor/nRF5_tools/*.deb     && : # last line' returned a non-zero code: 2

Proposed Solution

Fix

woody-apple commented 3 years ago

Note: Had to workaround this in .devcontainer too. Working on auto building docker - but until we'll need to pull from stable artifacts.

woody-apple commented 3 years ago

Working on this, I think I have it fixed. the nordic path is wrong, as well as the ubuntu deb path..

woody-apple commented 3 years ago

Yup, fixed. Coming in.