Small Dockerfile to build a toolchain docker image for rust development on PocketGO.
$ docker build -t pocketgo-rust .
The toolchain is based on a fork of the buildroot project.
I am using rustup to download and install cargo
, rust
and the standard
library for the PocketGo target armv5te-unknown-linux-musleabi
.
$ docker run -it pocketgo-rust
# cd /root
# cargo init my_project
# cargo build
You can also mount a local project inside the container using -v
.