From ab9f180b3a7a88fec17fefb064e2c6ac3d03f2d4 Mon Sep 17 00:00:00 2001 From: c10l Date: Fri, 22 Mar 2024 00:02:59 +0000 Subject: [PATCH] fix(devcontainer): Add packages required by grpcio When running `pip3 install --user -r zephyr/scripts/requirements.txt` (last step on https://zmk.dev/docs/development/setup), grpcio install fails with the following error: FileNotFoundError: [Errno 2] No such file or directory: c++: c++ This happens due to missing dev tooling in the container. --- .devcontainer/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 5e123bd5..c01083cf 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -2,3 +2,4 @@ FROM docker.io/zmkfirmware/zmk-dev-arm:3.5 COPY .bashrc tmp RUN mv /tmp/.bashrc ~/.bashrc +RUN apt-get update && apt-get install -y build-essential