Problem
Command curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh in the end suggest running command source "$HOME/.cargo/env". But there is no command source in dash (this is Debian's default shell). So, please fix your suggestion to . instead of source.
I copied this source "$HOME/.cargo/env" from rustup output and pasted to my dockerfile. And docker build failed, because of this problem
Steps
.
Possible Solution(s)
No response
Notes
No response
Rustup version
Installed toolchains
Problem
Command
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shin the end suggest running commandsource "$HOME/.cargo/env". But there is no commandsourcein dash (this is Debian's default shell). So, please fix your suggestion to.instead ofsource.I copied this
source "$HOME/.cargo/env"from rustup output and pasted to my dockerfile. And docker build failed, because of this problemSteps
.
Possible Solution(s)
No response
Notes
No response
Rustup version
.Installed toolchains
.