Skip to content

Commit a4c3883

Browse files
committed
Remove nodesource nodejs sources for Bookworm arm container
Debian Bookworm already has a nodejs that is newer than the nodesource.com version 14 that the Dockerfile is currently installing. Bookworm has nodejs 18. Because of this, we run the script (curl | bash) from nodesource.com for nodejs 14 which makes the process wait for 80 seconds because the script is deprecated. Then when we actually install nodejs, we get the version from Bookworm's repositories instead of nodesource.com anyway. This makes the process of using nodesource.com wasteful and pointless. The easy fix is to just remove this line where we add the nodesource repo.
1 parent 30fe000 commit a4c3883

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sonic-slave-bookworm/Dockerfile.j2

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -666,7 +666,6 @@ RUN pip3 install git+https://github.com/aristanetworks/swi-tools.git@bead66bf261
666666

667667
{% if CONFIGURED_ARCH != "amd64" -%}
668668
# Install node.js for azure pipeline
669-
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
670669
RUN eatmydata apt-get install -y nodejs
671670

672671
{%- if CROSS_BUILD_ENVIRON == "y" %}

0 commit comments

Comments
 (0)