Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
10e34ae38a
|
|||
3bb3013e7f
|
|||
ed640f1fec
|
|||
27b006899d
|
|||
e0a596ab28
|
|||
4038d23092
|
|||
c21783742c | |||
a147ea3432
|
15
Dockerfile
15
Dockerfile
@ -9,7 +9,7 @@ ARG ArduinoDownloadUrl=https://github.com/arduino/arduino-cli/releases/download/
|
|||||||
ARG ArduinoPackage=arduino-cli_0.29.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
|
ARG USER="arduino"
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
apt update && \
|
apt update && \
|
||||||
@ -24,25 +24,24 @@ RUN \
|
|||||||
useradd -m -r -u $ArduinoUID -g $USER -G dialout $USER
|
useradd -m -r -u $ArduinoUID -g $USER -G dialout $USER
|
||||||
|
|
||||||
USER $USER
|
USER $USER
|
||||||
WORKDIR /home/$USER
|
WORKDIR /home/${USER}
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
arduino-cli config init
|
arduino-cli config init
|
||||||
|
|
||||||
COPY arduino-cli.yaml /home/$USER/.arduino15/
|
COPY arduino-cli.yaml /home/${USER}/.arduino15/
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
|
pwd && \
|
||||||
|
ls -l ~/.arduino15 && \
|
||||||
arduino-cli core update-index && \
|
arduino-cli core update-index && \
|
||||||
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
|
arduino-cli core install Heltec-esp32:esp32 && \
|
||||||
|
arduino-cli core install CubeCell:CubeCell
|
||||||
|
|
||||||
|
|
||||||
CMD ["/bin/bash"]
|
CMD ["/bin/bash"]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,4 +6,6 @@ board_manager:
|
|||||||
- 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
|
- https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/releases/download/0.0.7/package_heltec_esp32_index.json
|
||||||
|
- http://resource.heltec.cn/download/package_CubeCell_index.json
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user