Skip to content

Commit

Permalink
[build arm] fix sonic-slave-buster build break (#6469)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dflynn-Nokia authored and lguohan committed Jan 19, 2021
1 parent 824d7ad commit 0d93b23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sonic-slave-buster/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,8 @@ RUN pip3 install git+https://github.com/aristanetworks/swi-tools.git@bead66bf261
{% if CONFIGURED_ARCH != "amd64" -%}
# 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
LABEL "com.azure.dev.pipelines.agent.handler.node.path"="/usr/bin/node"
Expand Down

0 comments on commit 0d93b23

Please sign in to comment.