Skip to content

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

Merged
lguohan merged 1 commit intosonic-net:masterfrom
dflynn-Nokia:node.js-buster
Jan 17, 2021
Merged

[build arm] fix sonic-slave-buster build break#6469
lguohan merged 1 commit intosonic-net:masterfrom
dflynn-Nokia:node.js-buster

Conversation

@dflynn-Nokia
Copy link
Contributor

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 as described within
Sonic issue #6445. 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.

Resolves issue #6445

- Why I did it
The armhf build is broken.

- How I did it
Update the node.js version within sonic-slave-buster to avoid this build break

- How to verify it
Build sonic-slave-buster for the armhf platform

- Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

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 as described within
Sonic issue sonic-net#6445. 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.
# 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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i do not understand what caused the build failure?

@lguohan lguohan added the Build label Jan 15, 2021
@lguohan lguohan merged commit 2830a2b into sonic-net:master Jan 17, 2021
lguohan pushed a commit that referenced this pull request Jan 21, 2021
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to build for the marvell armhf platform on the latest master branch

2 participants