Building inside Docker - which container?
Posted: Sat Nov 13, 2021 9:57 am
Hi all,
I'm new to the ESP world and I have an ESP8266 I'd like to program using the native SDK.
I want to avoid the hassle of installing cross compilers natively on my system, so I'd like to use a Docker container for building. There are quite a few around but I am unsure which one to use, as many of them have bit rotted as they haven't been updated for many years.
Can anyone offer any advice as to whether there is an up to date Docker container that is more or less ready to go?
I have tried the two most complete-looking ones so far but didn't have much luck:
Before I spend too much more time investigating each dead project one by one, can anyone point me to a current project? I'm not having much luck as most of the documentation is for people who are new to programming (pointing towards NodeMCU etc.) and I haven't found anything aimed at existing programmers who want to do native development but are new to ESP.
I'm new to the ESP world and I have an ESP8266 I'd like to program using the native SDK.
I want to avoid the hassle of installing cross compilers natively on my system, so I'd like to use a Docker container for building. There are quite a few around but I am unsure which one to use, as many of them have bit rotted as they haven't been updated for many years.
Can anyone offer any advice as to whether there is an up to date Docker container that is more or less ready to go?
I have tried the two most complete-looking ones so far but didn't have much luck:
- Espressif-supported container - looked perfect until I discovered it is for ESP32 only, not ESP8266
- vowstar/esp8266 - Dockerhub version contains very old SDK tools, can't build a newer version as it fails due to Python error
- squix78/esp32-docker-buildbox - Dockerhub contains old SDK version, won't build as it uses an old version of Ubuntu no longer available
Before I spend too much more time investigating each dead project one by one, can anyone point me to a current project? I'm not having much luck as most of the documentation is for people who are new to programming (pointing towards NodeMCU etc.) and I haven't found anything aimed at existing programmers who want to do native development but are new to ESP.