Replies: 1 comment 1 reply
-
for cross inside docker, see https://github.com/rust-embedded/cross#docker-in-docker does that help? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm trying to get a cross-compiled Docker image for Raspberry Pi alpine (armv7-unknown-linux-musleabihf).
I can build my project from outside docker with
cross build --target=armv7-unknown-linux-musleabihf
, but how can I get it working inside a Dockerfile?Things I tried:
cargo build
The musl issues manifest themselves as:
How can I build a cross-compiled image? Which way seems most promising?
Beta Was this translation helpful? Give feedback.
All reactions