mean prerequisites: install nodejs using mean.sh

RUN curl http://nodejs.org/dist/v0.10.26/node-v0.10.26-linux-x64.tar.gz | tar xz
RUN mv node* node && \
    ln -s /node/bin/node /usr/local/bin/node && \
    ln -s /node/bin/npm /usr/local/bin/npm
    
RUN sudo   npm update -g npm
RUN sudo npm install -g grunt-cli bower
RUN sudo npm install -g mean-cli@0.5
RUN cd /home/mean; mean init myApp
RUN cd /home/mean/myApp;  sudo  npm install -g
RUN cd /home/mean/myApp;  sudo  npm link
RUN cd /home/mean/myApp; grunt test