Based on the Trimui toolchain Docker image by neonloop.
With Docker installed and running, make shell builds the toolchain and drops into a shell inside the container. The container's ~/workspace is bound to ./workspace by default. Because I was unable to relocate the toolchain created by Moss it is located at /work/MOSS/build.MOSS-RK3566.aarch64 inside the container.
After building the first time, unless a dependency of the image has changed, make shell will skip building and drop into the shell.
- On your host machine, clone repositories into
./workspaceand make changes as usual. - In the container shell, find the repository in
~/workspaceand build as usual.
Docker for Mac has a memory limit that can make the toolchain build fail. Follow these instructions to increase the memory limit.