Skip to content

Commit

Permalink
chore: update node and arduino-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
felixerdy committed Nov 13, 2024
1 parent 89ad7b4 commit 48a4f66
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down
12 changes: 9 additions & 3 deletions Dockerfile.test
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down Expand Up @@ -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}

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 48a4f66

Please sign in to comment.