Netflix / lemur-docker

Docker files for the Lemur certificate orchestration tool
170 stars 83 forks source link

npm not found #18

Closed mlosapio closed 7 years ago

mlosapio commented 7 years ago

Looks like npm isn't in the ubuntu docker image.

I'm testing the fix and will report back shortly.

--> Installing git hooks
git config branch.autosetuprebase always
cd .git/hooks && ln -sf ../../hooks/* ./

--> Installing dependencies
WARNING: It looks like you are installing Lemur as root. This is not generally advised.
npm install --unsafe-perm
make: npm: Command not found
make: *** [develop] Error 127
ERROR: Service 'lemur-web' failed to build: The command '/bin/sh -c git config --global url."https://".insteadOf git:// &&  cd /usr/local/src &&  git clone https://github.com/netflix/lemur.git &&  cd lemur &&  git fetch &&  pip install --upgrade virtualenv &&  virtualenv venv &&  export PATH=/usr/local/src/lemur/venv/bin:${PATH} &&  pip install --upgrade pip virtualenv &&  git checkout 0.5.0 &&  make develop' returned a non-zero code: 2