File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change
1
+ # trunk-ignore-all(terrascan/AC_DOCKER_0002): Known terrascan issue
2
+ # trunk-ignore-all(hadolint/DL3008): Do not pin apt package versions
3
+ # trunk-ignore-all(hadolint/DL3013): Do not pin pip package versions
1
4
FROM mcr.microsoft.com/devcontainers/cpp:1-debian-12
2
5
3
6
USER root
4
7
5
- # trunk-ignore(terrascan/AC_DOCKER_0002): Known terrascan issue
6
- # trunk-ignore(hadolint/DL3008): Use latest version of packages
7
8
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
8
9
&& apt-get -y install --no-install-recommends \
9
10
ca-certificates \
@@ -27,9 +28,11 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
27
28
hwdata \
28
29
gpg \
29
30
gnupg2 \
31
+ libusb-1.0-0-dev \
32
+ libi2c-dev \
30
33
&& apt-get clean && rm -rf /var/lib/apt/lists/*
31
34
32
- RUN pipx install platformio==6.1.15
35
+ RUN pipx install platformio
33
36
34
37
COPY 99-platformio-udev.rules /etc/udev/rules.d/99-platformio-udev.rules
35
38
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ mkdir -p $OUTDIR/
24
24
rm -r $OUTDIR /* || true
25
25
26
26
# Important to pull latest version of libs into all device flavors, otherwise some devices might be stale
27
- platformio pkg update --environment native || platformioFailed
27
+ pio pkg update --environment native || platformioFailed
28
28
pio run --environment native || platformioFailed
29
29
cp .pio/build/native/program " $OUTDIR /meshtasticd_linux_$( uname -m) "
30
30
cp bin/native-install.* $OUTDIR
You can’t perform that action at this time.
0 commit comments