Update node js version and dependent packages required by Gerrit
Fixes:
@@ -96,10 +96,18 @@ RUN apt-get -qqy update && \
### Install Node.js and packages required by Gerrit.
### (see https://gerrit.googlesource.com/gerrit/+show/master/polygerrit-ui/README.md)
-RUN curl -L https://deb.nodesource.com/setup_8.x | bash - && \
+RUN curl -L https://deb.nodesource.com/setup_10.x | bash - && \
apt-get -qqy update && \
apt-get -qqy install nodejs && \
- npm install -g typescript fried-twinkie@0.0.15 && \
+ npm install --unsafe-perm -g \
+ eslint@"=4.19.0" \
+ eslint-config-google@"=0.12.0" \
+ eslint-plugin-html@"=5.0.3" \
+ eslint-plugin-promise@"=4.0.1" \
+ typescript \
+ fried-twinkie@"^0.2.2" \
+ polylint polymer-cli \
+ web-component-tester@6.8.0 && \
rm -rf /var/lib/apt/lists/*
### Install Python (required by our own bazelci.py script).
