Docker images for compiling static Rust binaries using musl-libc and musl-gcc, with static versions of useful C libraries. Supports openssl and diesel crates.
alias rust-musl-builder='sudo podman run --rm -it -v "$(pwd)":/home/rust/src ekidd/rust-musl-builder'
rust-musl-builder cargo build --release
**Error
Updating crates.io index
Updating git repository `https://github.com/Azure/azure-sdk-for-rust`
error: failed to get `azure_core` as a dependency of package `test_core v0.1.0 (/home/rust/src/eng/test_core)`
Caused by:
failed to load source for dependency `azure_core`
Caused by:
Unable to update https://github.com/Azure/azure-sdk-for-rust
Caused by:
failed to find branch `master`
Caused by:
cannot locate remote-tracking branch 'origin/master'; class=Reference (4); code=NotFound (-3)
I have been using podman so I don't think it is a difference between docker and podman.
If I run this on my own machine (Ubuntu 20.04) it is all good.
Just so everyone knows, I am running this on an Azure Custom DevOps Build Agent which is nothing more than an Ubuntu 20.04 VM in the cloud.
What did you try to do?
**Error
I have been using podman so I don't think it is a difference between docker and podman. If I run this on my own machine (Ubuntu 20.04) it is all good. Just so everyone knows, I am running this on an Azure Custom DevOps Build Agent which is nothing more than an Ubuntu 20.04 VM in the cloud.
Any thoughts or help would be appreciated.