diff --git a/Dockerfile b/Dockerfile index 5f42447..76b301e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,8 +21,11 @@ RUN \ USER $USER -# RUN \ -# env USER=arduino arduino-cli config init +RUN \ + arduino-cli config init + +COPY arduino-cli.yaml ~/.arduino15/ + CMD ["/bin/bash"] diff --git a/arduino-cli.yaml b/arduino-cli.yaml new file mode 100644 index 0000000..653de84 --- /dev/null +++ b/arduino-cli.yaml @@ -0,0 +1,6 @@ +proxy_type: auto +sketchbook_path: /root/Arduino +arduino_data: /root/.arduino15 +board_manager: + additional_urls: + - http://arduino.esp8266.com/stable/package_esp8266com_index.json