To install (assuming you have docker already installed), copy the dockerfile into a directory and run:
Code: Select all
docker build -t espopen .
Usage:
Code: Select all
docker run -it espopen bash
At the moment it's not possible to flash the 8266 board from the container (using the --device argument to share the serial port did not work on my machine). But you can share the resulting firmware file with the /user directory and flash as usual with the native esptool script.
I'm still learning to use docker so any feedback/improvement comments are welcome!