Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jan 17, 2021

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.
@@ -484,7 +484,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
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