-
Notifications
You must be signed in to change notification settings - Fork 953
using rustup in debian:latest docker image on macos x86_64 gives wrong version of rust (that won't run) #3544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
if I issue
then it solves the issue, I'd prefer the image to not have workaround, the same image builds on aarch64 macos and pulls the aarch64 rustc which works out of the box. |
Sorry you're having a bad experience! I'm guessing there might be an issue in (Note that this links to the |
... but the default host is indeed |
@djc, @rami3l thanks for the feedback and sorry for the delay. I still can reproduce it, I ran the following to check what get_architecture() would resolve:
Not sure how it could occur, as the image doesn't have a |
@smoothdeveloper You're running 64-bit Linux as your Docker host then. However, The problem here is why the script wants to install a 32-bit |
@rami3l thanks for the guidance; I confirm that the binaries under I built the same docker image with the
|
@smoothdeveloper We are making progress then, thank you! Would you mind running the script again with the verbose mode on, e.g. with something like Also, since we are using |
Sorry for the delay, I still face the same, here is the full transcript with sh -x
and the output
|
Problem
installing rust via rustup on a debian:latest dockerimage on macos x86_64 seems to install 32 bit version of rust that doesn't run under the image.
Steps
Dockerfile
Possible Solution(s)
No response
Notes
Rustup version
Installed toolchains
The text was updated successfully, but these errors were encountered: