$ npm install raspberry-pi-containerA systemd-nspawn raspberry pi container.
Uses qemu-arm-static to emulate arm7 on any Linux host
npm install -g raspberry-pi-container
raspberry-pi-container # drops you in a raspbian shell so you can compile / test things on arm
Requires systemd-nspawn (Linux) and qemu-arm-static which can usually be installed by your package manager.
Fell free to PR specific install instructions per platform.
MIT