Add necessary libs to Dockerfile for native build

This commit is contained in:
GUVWAF 2024-01-13 10:43:48 +01:00 committed by Jonathan Bennett
parent 6f96fbfb74
commit c22340eaf7

View File

@ -12,7 +12,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
# Install build deps
USER root
RUN apt-get update && \
apt-get -y install wget python3 g++ zip python3-venv git vim ca-certificates
apt-get -y install wget python3 g++ zip python3-venv git vim ca-certificates libgpiod-dev libyaml-cpp-dev libbluetooth-dev
# create a non-priveleged user & group
RUN groupadd -g 1000 mesh && useradd -ml -u 1000 -g 1000 mesh
@ -38,4 +38,4 @@ USER mesh
WORKDIR /home/mesh
CMD sh -cx "./meshtasticd_linux_amd64 --hwid '${HWID:-$RANDOM}'"
HEALTHCHECK NONE
HEALTHCHECK NONE