wovo / godafoss-code

0 stars 0 forks source link

Dockerfile build fails #1

Open chriskuku opened 6 months ago

chriskuku commented 6 months ago

I'm trying to build a docker image from the file make/dockers/esp32/Dockerfile and the build fails. I tried on two different Ubuntu machines. 22.04 an 23.04.

I'm getting: (sorry, cannot do anything about the clobbered output here)

[12/23] RUN git clone -b v5.0.4 --recursive https://github.com/espressif/esp-idf.git: 0.515 Cloning into 'esp-idf'... 179.9 error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8) 179.9 error: 5813 bytes of body are still expected 179.9 fetch-pack: unexpected disconnect while reading sideband packet 179.9 fatal: early EOF 179.9 fatal: fetch-pack: invalid index-pack output

Dockerfile:44

42 |
43 | WORKDIR /esp 44 | >>> RUN git clone -b v5.0.4 --recursive https://github.com/espressif/esp-idf.git 45 | WORKDIR /esp/esp-idf 46 | RUN ./install.sh all

ERROR: failed to solve: process "/bin/sh -c git clone -b v5.0.4 --recursive https://github.com/espressif/esp-idf.git" did not complete successfully: exit code: 128

cboostwvanooijen commented 5 months ago

I just tried from my windows laptop to

git clone -b v5.0.4 --recursive https://github.com/espressif/esp-idf.git

and it seems to work OK. Could you have an internet connection problem?

chriskuku commented 5 months ago

Thanks for testing. Actually, it failed again when sitting on my macBookPro behind my ISPs router:

$ git clone -b v5.0.4 --recursive https://github.com/espressif/esp-idf.git
Cloning into 'esp-idf'...
remote: Enumerating objects: 597124, done.
remote: Counting objects: 100% (9632/9632), done.
remote: Compressing objects: 100% (3906/3906), done.
error: 7065 bytes of body are still expected.04 MiB | 1.09 MiB/s  
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: index-pack failed
$

But going out in the Internet into my hosted Server, the command ran through though. Strange. Maybe a resource problem?