From 48a4f663580bf8c8c972deaa1ba7539e10591d96 Mon Sep 17 00:00:00 2001 From: Felix Erdmann Date: Wed, 13 Nov 2024 14:27:53 +0000 Subject: [PATCH] chore: update node and arduino-cli --- Dockerfile | 4 ++-- Dockerfile.test | 12 +++++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 95d82ea..53258b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ -FROM node:17 +FROM node:22 -ENV ARDUINO_CLI_VERSION=0.35.3 \ +ENV ARDUINO_CLI_VERSION=1.1.0 \ SENSEBOXCORE_VERSION=2.0.0 \ ARDUINO_SAMD_VERSION=1.8.13 \ ARDUINO_AVR_VERSION=1.8.5 \ diff --git a/Dockerfile.test b/Dockerfile.test index 06507b1..ce3931e 100644 --- a/Dockerfile.test +++ b/Dockerfile.test @@ -1,6 +1,6 @@ -FROM node:17 +FROM node:22 -ENV ARDUINO_CLI_VERSION=0.34.2 \ +ENV ARDUINO_CLI_VERSION=1.1.0 \ SENSEBOXCORE_VERSION=2.0.0 \ ARDUINO_SAMD_VERSION=1.8.13 \ ARDUINO_AVR_VERSION=1.8.5 \ @@ -39,7 +39,7 @@ RUN arduino-cli --additional-urls ${SENSEBOXCORE_URL} core install sensebox:samd # install ESP32 RUN apt-get install -y python3-pip -RUN pip install pyserial +RUN pip install pyserial --break-system-packages RUN curl -o /root/.arduino15/package_esp32_index.json ${ESP32CORE_URL} RUN arduino-cli --additional-urls ${ESP32CORE_URL} core install esp32:esp32@${ESP32_VERSION} @@ -103,6 +103,12 @@ RUN arduino-cli lib install "TinyGPSPlus" RUN arduino-cli lib install "SenseBoxBLE" RUN arduino-cli lib install "Bolder Flight Systems Unit Conversions" RUN arduino-cli lib install "HX711" +RUN arduino-cli lib install "STM32duino VL53L8CX" +RUN arduino-cli lib install "Adafruit ICM20X" +RUN arduino-cli lib install "NeoGPS" +RUN arduino-cli lib install "Adafruit NeoMatrix" +RUN arduino-cli lib install "Arduino Low Power" +RUN arduino-cli lib install "Adafruit seesaw Library" WORKDIR /app