marcelstoer / docker-nodemcu-build

Docker image to build NodeMCU firmware for the ESP8266 on your machine
https://hub.docker.com/r/marcelstoer/nodemcu-build/
MIT License
131 stars 63 forks source link

only after these steps i could run docker .... #65

Closed mauricionr closed 5 years ago

marcelstoer commented 5 years ago

The process described in the README still works fine - I just confirmed:

/tmp > git clone --recurse-submodules https://github.com/nodemcu/nodemcu-firmware.git
Cloning into 'nodemcu-firmware'...
remote: Enumerating objects: 17445, done.
remote: Total 17445 (delta 0), reused 0 (delta 0), pack-reused 17445
Receiving objects: 100% (17445/17445), 106.34 MiB | 6.16 MiB/s, done.
Resolving deltas: 100% (11749/11749), done.
...
/tmp > git checkout dev-esp32
fatal: not a git repository (or any of the parent directories): .git
/tmp > cd nodemcu-firmware/
/tmp/nodemcu-firmware (master) > git checkout dev-esp32
warning: unable to rmdir 'app/u8g2lib/u8g2': Directory not empty
warning: unable to rmdir 'app/ucglib/ucg': Directory not empty
Branch 'dev-esp32' set up to track remote branch 'dev-esp32' from 'origin' by rebasing.
Switched to a new branch 'dev-esp32'
/tmp/nodemcu-firmware (dev-esp32) > git submodule update --recursive
Cloning into '/private/tmp/nodemcu-firmware/components/qrcodegen/qrcodegen'...
Cloning into '/private/tmp/nodemcu-firmware/components/u8g2/u8g2'...
Cloning into '/private/tmp/nodemcu-firmware/components/ucg/ucg'...
Cloning into '/private/tmp/nodemcu-firmware/sdk/esp32-esp-idf'...
Cloning into '/private/tmp/nodemcu-firmware/tools/toolchains'...
Submodule path 'components/qrcodegen/qrcodegen': checked out '3da57e5aa01ebc5c228fd9adfb1f5956c63d1648'
Submodule path 'components/u8g2/u8g2': checked out 'd4da8254220adf39db44faa52a0842967095d230'
Submodule path 'components/ucg/ucg': checked out 'e21641a6c1ddb0e71f7b9e01501fa739786c68b1'
Submodule path 'sdk/esp32-esp-idf': checked out '1c4d9f2acacc666a4eb02f1450abd400e7df58c3'
Submodule path 'tools/toolchains': checked out '3f4f3890f97fe01870770dd5a624ee0823d71a13'
/tmp/nodemcu-firmware (dev-esp32) > docker run --rm -ti -v `pwd`:/opt/nodemcu-firmware marcelstoer/nodemcu-build configure-esp32
Setting IDF_PATH and re-invoking...
...
mauricionr commented 5 years ago

kind weird, i followed the steps and got the error about make and then about sed, i cloned following this step and it works https://nodemcu.readthedocs.io/en/dev-esp32/build/#linux-build-environment