9 Commits

Author SHA1 Message Date
10e34ae38a install cubecell stuff 2022-12-20 17:59:53 +01:00
3bb3013e7f add cubecell stuff 2022-12-19 18:33:37 +01:00
ed640f1fec fix Dockerfile 2022-12-15 13:26:08 +01:00
27b006899d fix Dockerfile 2022-12-15 13:23:17 +01:00
e0a596ab28 fix Dockerfile 2022-12-15 13:14:49 +01:00
4038d23092 fix Dockerfile 2022-12-15 13:13:34 +01:00
c21783742c Update Dockerfile, arg instead of env 2022-12-15 12:57:36 +01:00
a147ea3432 one empty line 2022-12-05 18:41:49 +01:00
fe1550c1d3 fix ci 2022-12-04 22:54:29 +01:00
2 changed files with 11 additions and 12 deletions

View File

@ -9,15 +9,13 @@ ARG ArduinoDownloadUrl=https://github.com/arduino/arduino-cli/releases/download/
ARG ArduinoPackage=arduino-cli_0.29.0_Linux_64bit.tar.gz
ARG ArduinoUID="1000"
ARG ArduinoGID="1000"
ENV USER arduino
ARG 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} && \
@ -26,25 +24,24 @@ RUN \
useradd -m -r -u $ArduinoUID -g $USER -G dialout $USER
USER $USER
WORKDIR /home/$USER
WORKDIR /home/${USER}
RUN \
arduino-cli config init
COPY arduino-cli.yaml /home/$USER/.arduino15/
COPY arduino-cli.yaml /home/${USER}/.arduino15/
RUN \
pwd && \
ls -l ~/.arduino15 && \
arduino-cli core update-index && \
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 Heltec-esp32:esp32
arduino-cli core install Heltec-esp32:esp32 && \
arduino-cli core install CubeCell:CubeCell
CMD ["/bin/bash"]

View File

@ -6,4 +6,6 @@ board_manager:
- 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
- http://resource.heltec.cn/download/package_CubeCell_index.json