We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1f77df commit 92b5d8eCopy full SHA for 92b5d8e
1 file changed
build-tools/docker/Dockerfile
@@ -171,12 +171,13 @@ RUN pip2 install pylint==1.9.2
171
RUN pip2 install python-dateutil==2.7.3
172
173
###
174
-# Install node.js for web UI framework (4.2.6 ships with Xenial)
+# Install node.js for web UI framework (8.10.0 ships with Bionic, let's override with 10.x)
175
176
-# hadolint ignore=DL3008, DL3016
177
-RUN apt-get -q update \
178
- && apt-get install -y --no-install-recommends nodejs npm \
179
- && apt-get clean \
+RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
+# hadolint ignore=DL3008, DL3015
+RUN apt-get install -y nodejs
+# hadolint ignore=DL3016
180
+RUN apt-get clean \
181
&& rm -rf /var/lib/apt/lists/* \
182
&& npm install npm@latest -g \
183
&& npm install -g jshint
0 commit comments