blob: cb8eb91aa084a9a9bbe16f1b1a5ce96816630fb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
FROM python:3.12-rc-slim
RUN apt update && apt install -y wget && \
wget https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Linux_64bit.tar.gz && \
tar -C /usr/bin/ -xf arduino-cli_nightly-latest_Linux_64bit.tar.gz
RUN mkdir ~/.arduino15 && \
echo "board_manager:" > ~/.arduino15/arduino-cli.yaml && \
echo " additional_urls:" >> ~/.arduino15/arduino-cli.yaml && \
echo " - http://arduino.esp8266.com/stable/package_esp8266com_index.json" >> ~/.arduino15/arduino-cli.yaml
RUN arduino-cli core update-index && \
arduino-cli core install esp8266:esp8266
WORKDIR /src
|