Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
fe1550c1d3
|
|||
c9da4dc1f8
|
|||
adb2756f4d
|
|||
1884294a9e
|
16
Dockerfile
16
Dockerfile
@ -1,20 +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 Maintainer="Wolfgang Hottgenroth <wolfgang.hottgenroth@icloud.com>"
|
||||||
LABEL ImageName="registry.hottis.de/dockerized/build-env-arduino"
|
LABEL ImageName="registry.hottis.de/dockerized/build-env-arduino"
|
||||||
LABEL HubImageName="wollud1969/build-env-arduino"
|
LABEL HubImageName="wollud1969/build-env-arduino"
|
||||||
|
|
||||||
ARG ArduinoDownloadUrl=https://github.com/arduino/arduino-cli/releases/download/0.16.0
|
ARG ArduinoDownloadUrl=https://github.com/arduino/arduino-cli/releases/download/0.29.0
|
||||||
ARG ArduinoPackage=arduino-cli_0.16.0_Linux_64bit.tar.gz
|
ARG ArduinoPackage=arduino-cli_0.29.0_Linux_64bit.tar.gz
|
||||||
ARG ArduinoUID="1000"
|
ARG ArduinoUID="1000"
|
||||||
ARG ArduinoGID="1000"
|
ARG ArduinoGID="1000"
|
||||||
ENV USER arduino
|
ENV USER arduino
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
apt update && \
|
apt update && \
|
||||||
apt install -y vim.tiny && \
|
apt upgrade -y && \
|
||||||
apt install -y python-cheetah && \
|
apt install -y python3-cheetah && \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
pip install pyserial && \
|
||||||
cd /tmp && \
|
cd /tmp && \
|
||||||
wget ${ArduinoDownloadUrl}/${ArduinoPackage} && \
|
wget ${ArduinoDownloadUrl}/${ArduinoPackage} && \
|
||||||
tar -xzf ${ArduinoPackage} && \
|
tar -xzf ${ArduinoPackage} && \
|
||||||
@ -35,7 +36,8 @@ RUN \
|
|||||||
arduino-cli core install arduino:avr && \
|
arduino-cli core install arduino:avr && \
|
||||||
arduino-cli core install arduino:samd && \
|
arduino-cli core install arduino:samd && \
|
||||||
arduino-cli core install esp8266:esp8266 && \
|
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"]
|
CMD ["/bin/bash"]
|
||||||
|
@ -5,4 +5,5 @@ board_manager:
|
|||||||
additional_urls:
|
additional_urls:
|
||||||
- http://arduino.esp8266.com/stable/package_esp8266com_index.json
|
- http://arduino.esp8266.com/stable/package_esp8266com_index.json
|
||||||
- https://dl.espressif.com/dl/package_esp32_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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user