Compare commits
9 Commits
0.0.1-test
...
0.29.0-2
Author | SHA1 | Date | |
---|---|---|---|
c9da4dc1f8
|
|||
adb2756f4d
|
|||
1884294a9e
|
|||
e442d4366f
|
|||
c815713a64
|
|||
116d9e00fe
|
|||
e29bf4c999
|
|||
7dd2f34f10
|
|||
6f675db7a9
|
@ -2,6 +2,3 @@ include:
|
||||
- project: dockerized/commons
|
||||
ref: master
|
||||
file: gitlab-ci-template.yml
|
||||
|
||||
|
||||
|
||||
|
16
Dockerfile
16
Dockerfile
@ -1,19 +1,22 @@
|
||||
FROM registry.gitlab.com/wolutator/base-build-env:latest
|
||||
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.5.0
|
||||
ARG ArduinoPackage=arduino-cli_0.5.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 vim-tiny && \
|
||||
apt install -y python-cheetah && \
|
||||
apt install -y python3 && \
|
||||
pip install pyserial && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
cd /tmp && \
|
||||
wget ${ArduinoDownloadUrl}/${ArduinoPackage} && \
|
||||
@ -34,8 +37,9 @@ RUN \
|
||||
arduino-cli core update-index && \
|
||||
arduino-cli core install arduino:avr && \
|
||||
arduino-cli core install arduino:samd && \
|
||||
arduino-cli core install esp8266:esp8266@2.5.0 && \
|
||||
sed -i 's/#if DEBUG/#ifdef DEBUG/' ~/.arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/libc/xtensa-lx106-elf/include/sys/reent.h
|
||||
arduino-cli core install esp8266:esp8266 && \
|
||||
arduino-cli core install esp32:esp32 && \
|
||||
arduino-cli core install Heltec-esp32:esp32
|
||||
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
|
@ -4,3 +4,6 @@ arduino_data: /home/arduino/.arduino15
|
||||
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
|
||||
|
||||
|
Reference in New Issue
Block a user