4 Commits

Author SHA1 Message Date
a147ea3432 one empty line 2022-12-05 18:41:49 +01:00
fe1550c1d3 fix ci 2022-12-04 22:54:29 +01:00
c9da4dc1f8 add Heltec 2022-12-04 22:50:45 +01:00
adb2756f4d arduino-cli 0.29.0 2022-12-03 00:14:30 +01:00
2 changed files with 9 additions and 12 deletions

View File

@ -1,22 +1,21 @@
FROM registry.hottis.de/dockerized/base-build-env:1.3.0
FROM registry.hottis.de/dockerized/base-build-env:1.5.3-bullseye
LABEL Maintainer="Wolfgang Hottgenroth <wolfgang.hottgenroth@icloud.com>"
LABEL ImageName="registry.hottis.de/dockerized/build-env-arduino"
LABEL HubImageName="wollud1969/build-env-arduino"
ARG ArduinoDownloadUrl=https://github.com/arduino/arduino-cli/releases/download/0.16.0
ARG ArduinoPackage=arduino-cli_0.16.0_Linux_64bit.tar.gz
ARG ArduinoDownloadUrl=https://github.com/arduino/arduino-cli/releases/download/0.29.0
ARG ArduinoPackage=arduino-cli_0.29.0_Linux_64bit.tar.gz
ARG ArduinoUID="1000"
ARG ArduinoGID="1000"
ENV USER arduino
RUN \
apt update && \
apt install -y vim.tiny && \
apt install -y python-cheetah && \
apt install -y python3 && \
apt upgrade -y && \
apt install -y python3-cheetah && \
pip install pyserial && \
rm -rf /var/lib/apt/lists/* && \
cd /tmp && \
wget ${ArduinoDownloadUrl}/${ArduinoPackage} && \
tar -xzf ${ArduinoPackage} && \
@ -37,12 +36,9 @@ RUN \
arduino-cli core install arduino:avr && \
arduino-cli core install arduino:samd && \
arduino-cli core install esp8266:esp8266 && \
arduino-cli core install esp32:esp32
arduino-cli core install esp32:esp32 && \
arduino-cli core install Heltec-esp32:esp32
CMD ["/bin/bash"]

View File

@ -5,4 +5,5 @@ board_manager:
additional_urls:
- http://arduino.esp8266.com/stable/package_esp8266com_index.json
- https://dl.espressif.com/dl/package_esp32_index.json
- https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/releases/download/0.0.7/package_heltec_esp32_index.json