balena-io-examples / balena-rust-hello-world

Example of how to deploy Rust code on a balena supported device.
https://www.balena.io/docs/learn/getting-started/raspberrypi3/rust/
Apache License 2.0
20 stars 8 forks source link

use wget instead of curl #24

Closed jacobrosenthal closed 5 years ago

jacobrosenthal commented 5 years ago

Closes #23

Hilariously, the rustup script finds curl and attempts to use it again, so it has to be explicitly removed or renamed or something

This fix worksin my project, but when I test it in this repo I get

[main]     Step 11/29 : RUN wget --no-verbose --secure-protocol=TLSv1_2 -qO- https://sh.rustup.rs | sh -s -- -y --default-toolchain `cat rust-toolchain`
[main]      ---> Running in d9329fdd93da
[main]     Aborted (core dumped)

So not sure yet whats different..