cesanta / mongoose-os

Mongoose OS - an IoT Firmware Development Framework. Supported microcontrollers: ESP32, ESP8266, CC3220, CC3200, STM32F4, STM32L4, STM32F7. Amazon AWS IoT, Microsoft Azure, Google IoT Core integrated. Code in C or JavaScript.
https://mongoose-os.com
Other
2.51k stars 429 forks source link

docker esp32: fix failing builds on linux #603

Closed markirb closed 1 year ago

markirb commented 1 year ago

when building with mos build, the docker container is called with the current userid on the host, which might not necessarily exist within the docker container. The folder of the 'user' (/opt/Espressif) needs to be accessed in the build by this other user, but cannot, as the permission on useradd is set to 0 for others. This works around the issue by extending the permissions for other users

rojer commented 1 year ago

fair enough

markirb commented 1 year ago

Nice, can it also be built and pushed onto docker hub?