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.
Please update the image so that it contains rust 1.29.
Also, how do I simply update one in my own image?
When I try I have this:
root@0549b9ea95aa:/home/rust# su rust
rust@0549b9ea95aa:~$ .cargo/bin/rustup update
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2018-09-13, rust version 1.29.0 (aa3ca1994 2018-09-11)
info: downloading component 'rustc'
info: downloading component 'rust-std'
info: downloading component 'cargo'
info: downloading component 'rust-docs'
info: downloading component 'rust-std' for 'armv7-unknown-linux-musleabihf'
info: downloading component 'rust-std' for 'x86_64-unknown-linux-musl'
info: removing component 'rustc'
info: rolling back changes
error: could not rename component file from '/home/rust/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/codegen-backends' to '/home/rust/.rustup/tmp/rio5q73mj8clfll6_dir/bk'
info: checking for self-updates
stable-x86_64-unknown-linux-gnu update failed - rustc 1.28.0 (9634041f0 2018-07-30)
warning: tool `rustfmt` is already installed, remove it from `/home/rust/.cargo/bin`, then run `rustup update` to have rustup manage this tool.
warning: tool `cargo-fmt` is already installed, remove it from `/home/rust/.cargo/bin`, then run `rustup update` to have rustup manage this tool
Please update the image so that it contains rust 1.29.
Also, how do I simply update one in my own image? When I try I have this: