And the best thing: You don't have to install all the dependencies and the SDK(s). And it just WORKS on any system that runs docker.
So I created two docker images: One for the "ESP32 and ESP31b" and one for the "ESP8266 and ESP8266EX".
If you are interested check it out on Github: https://github.com/T-vK/docker-esp-sdk/tree/esp32
To build the docker image you just have to install docker and run these three lines:
Code: Select all
git clone -b esp32 https://github.com/T-vK/docker-esp-sdk.git
cd docker-esp-sdk
sudo docker build -t tavk/esp32-sdk:0.1.0 .
Compiling
Code: Select all
sudo docker run -t -i -u esp \
-v /home/debian/esp-idf/examples/01_hello_world:/home/esp/shared_project \
tavk/esp32-sdk:0.1.0 \
make all
Code: Select all
sudo docker run -t -i -u esp \
--device=/dev/ttyUSB0 \
-v /home/debian/esp-idf/examples/01_hello_world:/home/esp/shared_project \
tavk/esp32-sdk:0.1.0 \
make flash
https://github.com/T-vK/docker-esp-sdk/tree/esp32