2020-10-18 06:48:31 +00:00
|
|
|
Install docker:
|
2021-04-15 21:08:13 +00:00
|
|
|
|
2021-04-02 22:11:14 +00:00
|
|
|
```
|
2020-10-18 06:48:31 +00:00
|
|
|
$ sudo apt install docker
|
|
|
|
$ sudo usermod -aG docker $USER
|
2021-04-02 22:11:14 +00:00
|
|
|
$ exec sudo su -l $USER
|
2020-10-18 06:48:31 +00:00
|
|
|
$ sudo systemctl start docker
|
|
|
|
$ cargo install cross
|
2021-04-16 01:07:27 +00:00
|
|
|
$ cross build --release --target armv7-unknown-linux-musleabihf
|
2021-04-02 22:11:14 +00:00
|
|
|
```
|
2020-10-18 06:48:31 +00:00
|
|
|
The cross-compiled binary is at target/armv7-unknown-linux-musleabihf/release/conduit
|