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. The CROSS_COMPILE and PATH env vars have been updated with the toolchain location.
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.