THRIFT-4213 Travis build fails at curl -sSL https://www.npmjs.com/install.sh | sh
Client: Build process
Patch: Eric Conner <eric@pinterest.com>

This closes #1295
diff --git a/build/docker/ubuntu/Dockerfile b/build/docker/ubuntu/Dockerfile
index 1fe494b..06aa5c8 100644
--- a/build/docker/ubuntu/Dockerfile
+++ b/build/docker/ubuntu/Dockerfile
@@ -137,11 +137,11 @@
       neko-dev \
       libneko0
 
+# Newer release of nodejs
+RUN curl -sL https://deb.nodesource.com/setup_6.x | bash
 RUN apt-get install -y --no-install-recommends \
 `# Node.js dependencies` \
-      nodejs \
-      nodejs-dev \
-      nodejs-legacy
+      nodejs
 
 RUN apt-get install -y --no-install-recommends \
 `# CSharp dependencies` \
@@ -191,7 +191,7 @@
 
 # Node.js
 # temporarily removed since this breaks the build (and is not needed to test C# code)
-#RUN curl -sSL https://www.npmjs.com/install.sh | sh
+# RUN curl -sSL https://www.npmjs.com/install.sh | sh
 
 # D
 RUN curl -sSL http://downloads.dlang.org/releases/2.x/2.070.0/dmd_2.070.0-0_amd64.deb -o /tmp/dmd_2.070.0-0_amd64.deb && \