Building image with `--build-arg arch=arm64` fails
Closed this issue · 3 comments
I ran docker build -t nrfconnect-sdk --build-arg sdk_nrf_revision=v2.3-branch --build-arg arch=arm64 .
on my Mac with Apple Silicon. The build fails while executing this line:
Line 136 in a8e7097
I've attached the output of the docker build
command to this issue. Apparently, Docker failed to
build wheels for clang-format, which is required to install pyproject.toml-based projects
Thanks for reporting this. We have no good way of testing this (github/roadmap#528) so we rely on someone with Apple Silicon to figure it out.
Ran the same command and the image built fine for me (M1 Pro). Maybe check this page and install the things it asked for? Or maybe it was a problem with clang-format?
Thanks @libochengll for checking. Closing as "works for me".