Currently getting the below error when trying to install Parity with Docker on Ubuntu/ARM64:
Step 7/11 : RUN rustup target add armv7-unknown-linux-gnueabihf ---> Running in 277ab1234a23 /bin/sh: 1: rustup: not found The command '/bin/sh -c rustup target add armv7-unknown-linux-gnueabihf' returned a non-zero code: 127
I can't figure out how to resolve this issue and it is stopping the Dockerfile from being setup.
This is the Dockerfile I am using: https://github.com/paritytech/parity-snappy/blob/master/Dockerfile
The exact lines of code that lead to this error are following. It errors on the last line.
# install rustup
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
# rustup directory
ENV PATH /root/.cargo/bin:$PATH
ENV RUST_TARGETS="arm-unknown-linux-gnueabihf"
# multirust add arm--linux-gnuabhf toolchain
RUN rustup target add armv7-unknown-linux-gnueabihf
I have tried a few different suggestions from other Stack Overflow posts (such as When installing Rust toolchain in Docker, Bash `source` command doesn't work), but have had no luck.
I have Docker for linux/arm64.
System architecture below:
Linux jetson-0423318029408 4.9.108-tegra #1 SMP PREEMPT Wed Oct 31 15:17:21 PDT 2018 aarch64 aarch64 aarch64 GNU/Linux
Any help resolving this would be appreciated.
Thanks.