Skip to content

Commit 0889507

Browse files
committed
Use default supplied npm with node.js
1 parent 5371d13 commit 0889507

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ RUN \
4141
CXX="g++ -Wno-unused-local-typedefs" make install && \
4242
cd /tmp && \
4343
rm -rf /tmp/node-v* && \
44-
npm install -g npm && \
4544
echo -e '\n# Node.js\nexport PATH="node_modules/.bin:$PATH"' >> /root/.bashrc
4645

4746
# Download phantomjs build (see README)

spec/dockerfile_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def remove(*); end
5050
end
5151

5252
describe command("npm -v") do
53-
its(:stdout) { should match /3\.3\.8/ }
53+
its(:stdout) { should match /2\.14\.7/ }
5454
end
5555

5656
describe command("phantomjs -v") do

0 commit comments

Comments
 (0)