$ npm install alpine-heapdump
this has a tarball of a precompiled binary of heapdump to be used in alpine linux