I am in the process of building a new Docker image and I\'m looking to get NVM installed so I can manage nodejs.
Reading the docs on how to install NVM they mention
Based upon the suggestion in @Kuhess answer, I replaced the source command with the following in my Dockerfile
RUN cat ~/.nvm/nvm.sh >> installnode.sh RUN echo "nvm install 0.10.35" >> installnode.sh RUN sh installnode.sh