Skip to content

Commit deb075e

Browse files
chaoflowrien
authored andcommitted
Update docker build instructions
1 parent b73f7cd commit deb075e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,11 @@ There are three ways of building the required restream binary for streaming the
184184
You can use the [toltec toolchain docker images](https://github.com/toltec-dev/toolchain) to build a restream binary compatible with the reMarkable.
185185
186186
```
187-
docker run --rm -v $(pwd):/project -v /project/.cargo -w "/project" ghcr.io/toltec-dev/rust:latest cargo build --release --target=armv7-unknown-linux-gnueabihf
187+
docker run --rm -v "$(pwd)":/project -v /project/.cargo -w /project \
188+
ghcr.io/toltec-dev/rust:latest bash -c '
189+
source /opt/x-tools/switch-arm.sh
190+
cargo build --release --target=armv7-unknown-linux-gnueabihf
191+
'
188192
```
189193
190194
- **Using the reMarkable toolchain:**

0 commit comments

Comments
 (0)