[build arm] fix sonic-slave-buster build break (#6469)

When building the sonic-slave-buster docker container, the node.js package is
installed to meet the requirements of the Azure DevOPs pipleline
build. Recently this install of node.js has been failing.

This commit fixes that build break by upgrading the
sonic-slave-buster build to install version 14.x of node.js which is the
current LTS version for buster.
This commit is contained in:
dflynn-Nokia 2021-01-17 01:04:19 -05:00 committed by GitHub
parent 4cf9316ec3
commit 2830a2bca6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -484,7 +484,8 @@ RUN pip3 install git+https://github.com/aristanetworks/swi-tools.git@bead66bf261
{% if CONFIGURED_ARCH != "amd64" -%} {% if CONFIGURED_ARCH != "amd64" -%}
# Install node.js for azure pipeline # Install node.js for azure pipeline
RUN apt-get install -y node.js RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN apt-get install -y nodejs
# Tell azure pipeline to use node.js in the docker # Tell azure pipeline to use node.js in the docker
LABEL "com.azure.dev.pipelines.agent.handler.node.path"="/usr/bin/node" LABEL "com.azure.dev.pipelines.agent.handler.node.path"="/usr/bin/node"