node.js - Getting error installing nodejs when building from docker -



node.js - Getting error installing nodejs when building from docker -

i trying install nodejs using docker console ubuntu error installing node js. error getting

the command [/bin/sh -c ./configure && create && create install] returned non-zero code: 127

this part of dockerfile

from ubuntu:12.04 run mkdir -p /dir/subdir run apt-get update # install nodejs add together http://nodejs.org/dist/v0.10.26/node-v0.10.26-linux-x64.tar.gz /dir workdir /dir/node-v0.10.26-linux-x64 run ./configure && create && create install workdir /dir

exit code 127 typically means "command not found". chances build-essentials not installed.

try adding next after apt-get update:

run apt-get -y install build-essential

node.js ubuntu docker

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -