This repository provides a Dockerized template for develop your projects using Arduino IDE 2.x.
-
Create your repository from this template
-
Start the Arduino IDE:
./run.sh
- Arduino packages and libraries: Add packages and libraries to be installed in
CLI-init.sh
so that they will be installed with arduino-cli at the startup of the container.
During its first execution, the Arduino-IDE initialize the environment by installing core packages. By default the IDE
is configured to save your files in the root directory /workspace/project
which is binded with the project
folder in your host machine. Moreover the arduino-cli.yaml
will be an exact copy of the one inside the container, so that you can commit this configuration file in your project. Finally, the directories ~/.arduinoIDE
, ~/.arduino15
and /workspace
are configured to be volumes associated to the container, thus their content will survive even after quitting the container unless you explicitly remove them.