From 73e8440582f93820f021ad29678ed0ab4f4096d4 Mon Sep 17 00:00:00 2001 From: Willi Ballenthin Date: Thu, 3 Aug 2017 08:04:03 -0400 Subject: [PATCH] Fix #8114 - dockerfile: use node v8, better install npm --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9141bc3cb3..cea1fee40f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 - && \ apt-get install -y nodejs python-pip && \ - curl -sL https://www.npmjs.com/install.sh | bash - && \ 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" && \ cd /mnt && \ git clone -b "$R2_VERSION" --depth 1 https://github.com/radare/radare2.git && \ cd radare2 && \