Thanks for the image. For my project, I required to also use rust-bindgen for generating bindings. According to the documentation, bindgen requires llvm-dev libclang-dev clang
In addition, I was also requiring development headers so I ended up adding packages linux-headers-generic libc6-dev-i386.
Here is my Dockerfile used for building on Alpine RPi2 armv7:
FROM messense/rust-musl-cross:armv7-musleabihf
RUN apt-get update && \
apt-get install -y software-properties-common apt-transport-https ca-certificates
RUN add-apt-repository 'deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-10 main'
RUN apt-get update && \
apt-get install -y llvm-dev libclang-dev clang linux-headers-generic libc6-dev-i386
Hi,
Thanks for the image. For my project, I required to also use rust-bindgen for generating bindings. According to the documentation, bindgen requires
llvm-dev libclang-dev clang
In addition, I was also requiring development headers so I ended up adding packages
linux-headers-generic libc6-dev-i386
.Here is my Dockerfile used for building on Alpine RPi2 armv7: