Closed avkonst closed 6 years ago
The rust-musl-builder
image comes with a specific, preinstalled version of the Rust toolchain. If you want to use a different version, you need to find a matching version of rust-musl-builder
.
I just asked Docker Hub to build a new image for 1.24.1, and it should be ready in an hour or two. Once this is available, you should be able to use rust-musl-builder:1.24.1
.
Well. It means I need to remove rust-toolchain file before invoking docker. This file is in the git repo too for my project. I would like to have consistent build on my desktop as well as in the container for release.
On Sat, 24 Mar 2018, 04:40 Eric Kidd, notifications@github.com wrote:
The rust-musl-builder image comes with a specific, preinstalled version of the Rust toolchain. If you want to use a different version, you need to find a matching version of rust-musl-builder.
I just asked Docker Hub to build a new image for 1.24.1, and it should be ready in an hour or two. Once this is available, you should be able to use rust-musl-builder:1.24.1.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/emk/rust-musl-builder/issues/39#issuecomment-375707277, or mute the thread https://github.com/notifications/unsubscribe-auth/ADyZVTSPq94FpjHlS0yc808geRsGjw3kks5thRdjgaJpZM4S4LxE .
Please try using the rust-musl-builder:1.24.1
, which contains the compiler corresponding to your rust-toolchain
file.
I have tried. The recommended tag is not available on docker hub:
Could you please check if you pushed it?
Weird. I can see it with no problem:
Yes. It is weird. Appeared recently for me. Have managed to build successfully. Thanks.
My project has got a file named:
rust-toolchain
. It's content is required compiler version:1.24.1
The project builds fine on my desktop.rust-toolchain
is also taken into account automatically and correctly.However, the builder container failed to build one:
The output is:
What is the way to fix it?