rust-musl-cross icon indicating copy to clipboard operation
rust-musl-cross copied to clipboard

Use messense/rust-musl-cross as custom images in cross? [feature request]

Open xoac opened this issue 4 years ago • 3 comments

Hi, I was wondering about difference between cross and messense/rust-musl-cross images. For sure there is big one - cross doesn't support openssl. Are there any other?

I am asking because maybe it would be good idea to make messense/rust-musl-cross images work with cross. See custom docker images in cross.

xoac avatar Mar 26 '20 10:03 xoac

Is it not working now? Could you paste the error message here?

messense avatar Mar 26 '20 10:03 messense

➜ cross build --target armv7-unknown-linux-musleabihf

error: could not create home directory: '/.rustup'
error: caused by: Permission denied (os error 13)

➜ cat Cross.toml

[target.armv7-unknown-linux-musleabihf]
image = "messense/rust-musl-cross:armv7-musleabihf"

I love your quick responses!

xoac avatar Mar 26 '20 11:03 xoac

I think we need to find out what is trying to create the home directory /.rustup.

This issue might be somewhat related: https://github.com/rust-embedded/cross/issues/399

messense avatar Mar 26 '20 11:03 messense