Skip to content

Commit a027d5f

Browse files
authored
chore: update Arduino CLI (#112)
- Improve color coding with bash - update .devcontainer/devcontainer.json - test Dockerfile update and publish
1 parent bb616f9 commit a027d5f

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"context": "..",
88

99
// Update the 'dockerFile' property if you aren't using the standard 'Dockerfile' filename.
10-
//"dockerFile": "../.github/actions/compile-examples/Dockerfile",
11-
"dockerFile": "../Dockerfile",
10+
"image": "ghcr.io/blues/note_arduino_ci:latest",
11+
// "dockerFile": "../Dockerfile",
1212

1313
// Set *default* container specific settings.json values on container create.
1414
"settings": {},

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# docker run --entrypoint bash --interactive --rm --tty --volume "$(pwd)":/host-volume/ --workdir /host-volume/ arduino-cli
1010

1111
# Define global arguments
12-
ARG ARDUINO_CLI_VERSION=0.33.0
12+
ARG ARDUINO_CLI_VERSION=0.34.2
1313
ARG DEBIAN_FRONTEND="noninteractive"
1414
ARG UID=1000
1515
ARG USER="blues"
@@ -65,10 +65,9 @@ RUN ["dash", "-c", "\
6565
ssh \
6666
tree \
6767
valgrind \
68-
&& pip install \
68+
&& pip install --break-system-packages \
6969
adafruit-nrfutil \
7070
pyserial \
71-
--break-system-packages \
7271
&& apt-get clean \
7372
&& apt-get purge \
7473
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \

test/run_all_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
GREEN='\x1B[0;32m'
44
RED='\x1B[0;31m'

0 commit comments

Comments
 (0)