Skip to content

Commit

Permalink
chore: update Arduino CLI (#112)
Browse files Browse the repository at this point in the history
- Improve color coding with bash
- update .devcontainer/devcontainer.json
- test Dockerfile update and publish
  • Loading branch information
zfields authored Sep 28, 2023
1 parent bb616f9 commit a027d5f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"context": "..",

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

// Set *default* container specific settings.json values on container create.
"settings": {},
Expand Down
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# docker run --entrypoint bash --interactive --rm --tty --volume "$(pwd)":/host-volume/ --workdir /host-volume/ arduino-cli

# Define global arguments
ARG ARDUINO_CLI_VERSION=0.33.0
ARG ARDUINO_CLI_VERSION=0.34.2
ARG DEBIAN_FRONTEND="noninteractive"
ARG UID=1000
ARG USER="blues"
Expand Down Expand Up @@ -65,10 +65,9 @@ RUN ["dash", "-c", "\
ssh \
tree \
valgrind \
&& pip install \
&& pip install --break-system-packages \
adafruit-nrfutil \
pyserial \
--break-system-packages \
&& apt-get clean \
&& apt-get purge \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
Expand Down
2 changes: 1 addition & 1 deletion test/run_all_tests.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

GREEN='\x1B[0;32m'
RED='\x1B[0;31m'
Expand Down

0 comments on commit a027d5f

Please sign in to comment.