I have built this with Yocto, details of which are to be documented (follow me on twitter to find out first).
The resulting container is runtime-only, i.e.
npm install will fail when it needs to run
node-gyp or someone other build tool for compiling native extensions of sorts.
FROM scratch ADD ./container-gnu-qemux86-64.tar.bz2 / ADD ./iojs-v1.0.1-linux-x64.tar.gz /usr ENV PATH $PATH:/usr/iojs-v1.0.1-linux-x64/bin WORKDIR /app ENTRYPOINT [ "/usr/iojs-v1.0.1-linux-x64/bin/npm" ] CMD [ "start" ]