I would just install node directly from the official binaries instead, like so:

https://github.com/modcloth/modcloth-docker-layers/blob/11272e76e242f91ee574af7c900b842ef777eef8/nodejs-dev/Dockerfile#L4

:smiley_cat:.