Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dockerfile: use node v8, better install npm #8116

Merged
merged 1 commit into from
Aug 3, 2017
Merged

dockerfile: use node v8, better install npm #8116

merged 1 commit into from
Aug 3, 2017

Conversation

williballenthin
Copy link
Contributor

addresses #8114

@@ -63,11 +63,10 @@ RUN DEBIAN_FRONTEND=noninteractive dpkg --add-architecture i386 && \
libncurses5:i386 \
libstdc++6:i386 \
sudo && \
curl -sL https://deb.nodesource.com/setup_7.x | bash - && \
curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nodejs v8.x packages npm with it

pip install r2pipe=="$R2_PIPE_PY_VERSION" && \
npm install -g "r2pipe@$R2_PIPE_NPM_VERSION" && \
npm install --unsafe-perm -g "r2pipe@$R2_PIPE_NPM_VERSION" && \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm isn't intended to run as root, so node-gyp doesn't install quite right unless we tweak the permissions.

@radare radare merged commit 73e8440 into radareorg:master Aug 3, 2017
@radare
Copy link
Collaborator

radare commented Aug 3, 2017

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants