Skip to content

Commit 601d1f3

Browse files
authored
TEZ-4283: Docker fails to build on master - upgrade to nodejs10 (#104)
1 parent 26759e0 commit 601d1f3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

build-tools/docker/Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -171,12 +171,13 @@ RUN pip2 install pylint==1.9.2
171171
RUN pip2 install python-dateutil==2.7.3
172172

173173
###
174-
# Install node.js for web UI framework (4.2.6 ships with Xenial)
174+
# Install node.js for web UI framework (8.10.0 ships with Bionic, let's override with 10.x)
175175
###
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 \
176+
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
177+
# hadolint ignore=DL3008, DL3015
178+
RUN apt-get install -y nodejs
179+
# hadolint ignore=DL3016
180+
RUN apt-get clean \
180181
&& rm -rf /var/lib/apt/lists/* \
181182
&& npm install npm@latest -g \
182183
&& npm install -g jshint

0 commit comments

Comments
 (0)