Please note that in case of #444 one GB for a full Ubuntu (which eats up several hundreds MB of RAM alone) + compiling in pmbootstrap was not enough, and that it was "enough" with 2 GB. So the actual value may be much lower.
* Change "GNU/Linux" into "Linux distribution", because the Alpine Linux developers don't see their distro as GNU/Linux
* Use "hello-world" as example package, as it does not make much sense right now to compile heimdall for armhf
You'll need openssh to connect to your device after it has booted,
but if your host system does not have openssh, you can simply use
openssh from the native Alpine Linux chroot:
./pmbootstrap.py chroot
apk install openssh