Docker image for PlatformIO. The image can be used for CI/CD integration of PlatformIO projects.
On the project root:
docker build -t platformio-docker .
This will build the docker image with the environments in platformio.ini
file.
Additional environments can be added by modifying config file before building:
; File: platformio.ini
[env:node32s]
platform = espressif32
board = node32s
framework = arduino
[env:esp32]
platform = espressif32
board = esp32
framework = arduino
On a PlatformIO project directory:
docker run platformio-docker -v ${PWD}:/root pio run