Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions dev-support/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -174,16 +174,23 @@ RUN pip2 install pylint==1.9.2
RUN pip2 install python-dateutil==2.7.3

###
# Install node.js for web UI framework (4.2.6 ships with Xenial)
# Install node.js 8.17.0 for web UI framework (4.2.6 ships with Xenial)
###
# hadolint ignore=DL3008, DL3016
RUN apt-get -q update \
&& apt-get install -y --no-install-recommends nodejs npm \
RUN curl -L -s -S https://deb.nodesource.com/setup_8.x | bash - \
&& apt-get install -y --no-install-recommends nodejs=8.17.0-1nodesource1 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& ln -s /usr/bin/nodejs /usr/bin/node \
&& npm install npm@latest -g \
&& npm install -g jshint
&& npm install -g [email protected]

###
## Install Yarn 1.12.1 for web UI framework
####
RUN curl -s -S https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo 'deb https://dl.yarnpkg.com/debian/ stable main' > /etc/apt/sources.list.d/yarn.list \
&& apt-get -q update \
&& apt-get install -y --no-install-recommends yarn=1.12.1-1 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

###
# Install hadolint
Expand Down