I build a Dockerfile for ubunutu and I had the following piece of code :
#Get the Zephyr source code: RUN west init ~/zephyrproject RUN cd ~/zephyrproject RUN west update
that was the output when I use progress=plain :
#16 [13/17] RUN west init ~/zephyrproject #16 DONE 0.2s #17 [14/17] RUN cd ~/zephyrproject #17 DONE 0.2s
actually the script continued and finished and I was thinking it downloaded the code using the west command but when I check zephyrproject there was nothing inside.
I was thinking the build could fail and show and error but this was not the case.
I also get the same behaviour when I use “git clone …” . the script continue even if the command line gve me this error : “fatal: unable to access ‘GitHub - zephyrproject-rtos/zephyr: Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.’: Could not resolve host: github.com”