Skip to content

Commit 1c8b165

Browse files
authored
Add libusb to dockerfile for ch341 (#5641)
1 parent 8e6ef4e commit 1c8b165

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ USER root
1414
# trunk-ignore(hadolint/DL3008): Use latest version of packages for buildchain
1515
RUN apt-get update && apt-get install --no-install-recommends -y wget python3 python3-pip python3-wheel python3-venv g++ zip git \
1616
ca-certificates libgpiod-dev libyaml-cpp-dev libbluetooth-dev \
17-
libulfius-dev liborcania-dev libssl-dev pkg-config && \
17+
libusb-1.0-0-dev libulfius-dev liborcania-dev libssl-dev pkg-config && \
1818
apt-get clean && rm -rf /var/lib/apt/lists/* && mkdir /tmp/firmware
1919

2020
RUN groupadd -g 1000 mesh && useradd -ml -u 1000 -g 1000 mesh && chown mesh:mesh /tmp/firmware
@@ -37,7 +37,7 @@ ENV TZ=Etc/UTC
3737

3838
# trunk-ignore(terrascan/AC_DOCKER_0002): Known terrascan issue
3939
# trunk-ignore(hadolint/DL3008): Use latest version of packages for buildchain
40-
RUN apt-get update && apt-get --no-install-recommends -y install libc-bin libc6 libgpiod2 libyaml-cpp0.7 libulfius2.7 liborcania2.3 libssl3 && \
40+
RUN apt-get update && apt-get --no-install-recommends -y install libc-bin libc6 libgpiod2 libyaml-cpp0.7 libulfius2.7 libusb-1.0-0-dev liborcania2.3 libssl3 && \
4141
apt-get clean && rm -rf /var/lib/apt/lists/*
4242

4343
RUN groupadd -g 1000 mesh && useradd -ml -u 1000 -g 1000 mesh
@@ -51,4 +51,4 @@ VOLUME /home/mesh/data
5151

5252
CMD [ "sh", "-cx", "./meshtasticd -d /home/mesh/data --hwid=${HWID:-$RANDOM}" ]
5353

54-
HEALTHCHECK NONE
54+
HEALTHCHECK NONE

0 commit comments

Comments
 (0)