From 2af31526ba4f1a72b66e100521ea2467cc247b94 Mon Sep 17 00:00:00 2001 From: STAM Date: Sat, 10 Feb 2024 01:29:09 +0300 Subject: [PATCH] nodejs fix --- linux/ecosystem/nodejs/outdated/node10/Dockerfile | 6 +++--- linux/ecosystem/nodejs/outdated/node11/Dockerfile | 4 ++-- linux/ecosystem/nodejs/outdated/node12/Dockerfile | 6 +++--- linux/ecosystem/nodejs/outdated/node13/Dockerfile | 6 +++--- linux/ecosystem/nodejs/outdated/node14/Dockerfile | 6 +++--- linux/ecosystem/nodejs/outdated/node15/Dockerfile | 14 +++++++------- linux/ecosystem/nodejs/outdated/node16/Dockerfile | 6 +++--- linux/ecosystem/nodejs/outdated/node17/Dockerfile | 4 ++-- linux/ecosystem/nodejs/outdated/node18/Dockerfile | 6 +++--- linux/ecosystem/nodejs/outdated/node19/Dockerfile | 6 +++--- linux/ecosystem/nodejs/outdated/node4/Dockerfile | 6 +++--- linux/ecosystem/nodejs/outdated/node6/Dockerfile | 6 +++--- linux/ecosystem/nodejs/outdated/node8/Dockerfile | 6 +++--- 13 files changed, 41 insertions(+), 41 deletions(-) diff --git a/linux/ecosystem/nodejs/outdated/node10/Dockerfile b/linux/ecosystem/nodejs/outdated/node10/Dockerfile index 532c157b5..007130ecb 100644 --- a/linux/ecosystem/nodejs/outdated/node10/Dockerfile +++ b/linux/ecosystem/nodejs/outdated/node10/Dockerfile @@ -8,9 +8,9 @@ ARG DEBIAN_FRONTEND=noninteractive RUN groupadd node && \ useradd --gid node --shell /bin/bash --create-home node -RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \ - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \ - echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ +RUN curl -fsSL https://deb.nodesource.com/setup_10.x | bash - && \ + curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \ + echo "deb [signed-by=/etc/apt/keyrings/yarnpkg.gpg] https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ apt-get update && \ apt-cache policy nodejs && \ apt-get install -y nodejs=10.24.1-deb-1nodesource1 yarn diff --git a/linux/ecosystem/nodejs/outdated/node11/Dockerfile b/linux/ecosystem/nodejs/outdated/node11/Dockerfile index d08b8e316..7693cc08f 100644 --- a/linux/ecosystem/nodejs/outdated/node11/Dockerfile +++ b/linux/ecosystem/nodejs/outdated/node11/Dockerfile @@ -9,8 +9,8 @@ RUN groupadd node && \ useradd --gid node --shell /bin/bash --create-home node RUN curl -sL https://deb.nodesource.com/setup_11.x | bash - && \ - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \ - echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ + curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \ + echo "deb [signed-by=/etc/apt/keyrings/yarnpkg.gpg] https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ apt-get update && \ apt-get install -y nodejs yarn diff --git a/linux/ecosystem/nodejs/outdated/node12/Dockerfile b/linux/ecosystem/nodejs/outdated/node12/Dockerfile index 1ee359360..d8600f244 100644 --- a/linux/ecosystem/nodejs/outdated/node12/Dockerfile +++ b/linux/ecosystem/nodejs/outdated/node12/Dockerfile @@ -8,9 +8,9 @@ ARG DEBIAN_FRONTEND=noninteractive RUN groupadd node && \ useradd --gid node --shell /bin/bash --create-home node -RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - && \ - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \ - echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ +RUN curl -fsSL https://deb.nodesource.com/setup_12.x | bash - && \ + curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \ + echo "deb [signed-by=/etc/apt/keyrings/yarnpkg.gpg] https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ apt-get update && \ apt-get install -y nodejs yarn && \ npm install -g pnpm diff --git a/linux/ecosystem/nodejs/outdated/node13/Dockerfile b/linux/ecosystem/nodejs/outdated/node13/Dockerfile index dc39203b1..6d6204d11 100644 --- a/linux/ecosystem/nodejs/outdated/node13/Dockerfile +++ b/linux/ecosystem/nodejs/outdated/node13/Dockerfile @@ -8,9 +8,9 @@ ARG DEBIAN_FRONTEND=noninteractive RUN groupadd node && \ useradd --gid node --shell /bin/bash --create-home node -RUN curl -sL https://deb.nodesource.com/setup_13.x | bash - && \ - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \ - echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ +RUN curl -fsSL https://deb.nodesource.com/setup_13.x | bash - && \ + curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \ + echo "deb [signed-by=/etc/apt/keyrings/yarnpkg.gpg] https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ apt-get update && \ apt-get install -y nodejs yarn && \ npm install -g pnpm diff --git a/linux/ecosystem/nodejs/outdated/node14/Dockerfile b/linux/ecosystem/nodejs/outdated/node14/Dockerfile index 17a8e540f..91e7f0602 100644 --- a/linux/ecosystem/nodejs/outdated/node14/Dockerfile +++ b/linux/ecosystem/nodejs/outdated/node14/Dockerfile @@ -8,9 +8,9 @@ ARG DEBIAN_FRONTEND=noninteractive RUN groupadd node && \ useradd --gid node --shell /bin/bash --create-home node -RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \ - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \ - echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ +RUN curl -fsSL https://deb.nodesource.com/setup_14.x | bash - && \ + curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \ + echo "deb [signed-by=/etc/apt/keyrings/yarnpkg.gpg] https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ apt-get clean && apt-get autoclean && \ apt-get update && \ apt-get install -y nodejs yarn && \ diff --git a/linux/ecosystem/nodejs/outdated/node15/Dockerfile b/linux/ecosystem/nodejs/outdated/node15/Dockerfile index 64dee4dfa..6ba51cff7 100644 --- a/linux/ecosystem/nodejs/outdated/node15/Dockerfile +++ b/linux/ecosystem/nodejs/outdated/node15/Dockerfile @@ -8,16 +8,16 @@ ARG DEBIAN_FRONTEND=noninteractive RUN groupadd node && \ useradd --gid node --shell /bin/bash --create-home node -RUN curl -sL https://deb.nodesource.com/setup_15.x | bash - && \ - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \ - echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ +RUN curl -fsSL https://deb.nodesource.com/setup_15.x | bash - && \ + curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \ + echo "deb [signed-by=/etc/apt/keyrings/yarnpkg.gpg] https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ apt-get clean && apt-get autoclean && \ apt-get update && \ - apt-get install -y -o nodejs yarn && \ - npm install -g pnpm + apt-get install -y yarn && \ + npm install -g pnpm -# curl -L https://www.npmjs.com/install.sh | sh -# npm install -g npm +#RUN curl -L https://www.npmjs.com/install.sh | bash && \ +# npm install -g npm RUN echo "=============================================" && \ echo node $(node --version) && \ diff --git a/linux/ecosystem/nodejs/outdated/node16/Dockerfile b/linux/ecosystem/nodejs/outdated/node16/Dockerfile index 1e72a5425..5ed347d8b 100644 --- a/linux/ecosystem/nodejs/outdated/node16/Dockerfile +++ b/linux/ecosystem/nodejs/outdated/node16/Dockerfile @@ -8,9 +8,9 @@ ARG DEBIAN_FRONTEND=noninteractive RUN groupadd node && \ useradd --gid node --shell /bin/bash --create-home node -RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \ - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \ - echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ +RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \ + curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \ + echo "deb [signed-by=/etc/apt/keyrings/yarnpkg.gpg] https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ apt-get clean && apt-get autoclean && \ apt-get update && \ apt-get install -y nodejs yarn && \ diff --git a/linux/ecosystem/nodejs/outdated/node17/Dockerfile b/linux/ecosystem/nodejs/outdated/node17/Dockerfile index c988dd049..393be2d4c 100644 --- a/linux/ecosystem/nodejs/outdated/node17/Dockerfile +++ b/linux/ecosystem/nodejs/outdated/node17/Dockerfile @@ -9,8 +9,8 @@ RUN groupadd node && \ useradd --gid node --shell /bin/bash --create-home node RUN curl -fsSL https://deb.nodesource.com/setup_17.x | bash - && \ - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \ - echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ + curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \ + echo "deb [signed-by=/etc/apt/keyrings/yarnpkg.gpg] https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ apt-get clean && apt-get autoclean && \ apt-get update && \ apt-get install -y nodejs yarn && \ diff --git a/linux/ecosystem/nodejs/outdated/node18/Dockerfile b/linux/ecosystem/nodejs/outdated/node18/Dockerfile index de7c76cd0..fc111a509 100644 --- a/linux/ecosystem/nodejs/outdated/node18/Dockerfile +++ b/linux/ecosystem/nodejs/outdated/node18/Dockerfile @@ -8,9 +8,9 @@ ARG DEBIAN_FRONTEND=noninteractive RUN groupadd node && \ useradd --gid node --shell /bin/bash --create-home node -RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - && \ - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \ - echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ +RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \ + curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \ + echo "deb [signed-by=/etc/apt/keyrings/yarnpkg.gpg] https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ apt-get clean && apt-get autoclean && \ apt-get update && \ apt-get install -y nodejs yarn && \ diff --git a/linux/ecosystem/nodejs/outdated/node19/Dockerfile b/linux/ecosystem/nodejs/outdated/node19/Dockerfile index daf93f5e4..1f9beaf2a 100644 --- a/linux/ecosystem/nodejs/outdated/node19/Dockerfile +++ b/linux/ecosystem/nodejs/outdated/node19/Dockerfile @@ -8,9 +8,9 @@ ARG DEBIAN_FRONTEND=noninteractive RUN groupadd node && \ useradd --gid node --shell /bin/bash --create-home node -RUN curl -sL https://deb.nodesource.com/setup_19.x | bash - && \ - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \ - echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ +RUN curl -fsSL https://deb.nodesource.com/setup_19.x | bash - && \ + curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \ + echo "deb [signed-by=/etc/apt/keyrings/yarnpkg.gpg] https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ apt-get clean && apt-get autoclean && \ apt-get update && \ apt-get install -y nodejs yarn && \ diff --git a/linux/ecosystem/nodejs/outdated/node4/Dockerfile b/linux/ecosystem/nodejs/outdated/node4/Dockerfile index 1664d3c54..75b1d507f 100644 --- a/linux/ecosystem/nodejs/outdated/node4/Dockerfile +++ b/linux/ecosystem/nodejs/outdated/node4/Dockerfile @@ -8,9 +8,9 @@ ARG DEBIAN_FRONTEND=noninteractive RUN groupadd node && \ useradd --gid node --shell /bin/bash --create-home node -RUN curl -sL https://deb.nodesource.com/setup_4.x | bash - && \ - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \ - echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ +RUN curl -fsSL https://deb.nodesource.com/setup_4.x | bash - && \ + curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \ + echo "deb [signed-by=/etc/apt/keyrings/yarnpkg.gpg] https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ apt-get update && \ apt-cache policy nodejs && \ apt-get install -y nodejs=4.8.7-1nodesource1 yarn diff --git a/linux/ecosystem/nodejs/outdated/node6/Dockerfile b/linux/ecosystem/nodejs/outdated/node6/Dockerfile index bb42de256..5aa29bde4 100644 --- a/linux/ecosystem/nodejs/outdated/node6/Dockerfile +++ b/linux/ecosystem/nodejs/outdated/node6/Dockerfile @@ -8,9 +8,9 @@ ARG DEBIAN_FRONTEND=noninteractive RUN groupadd node && \ useradd --gid node --shell /bin/bash --create-home node -RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - && \ - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \ - echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ +RUN curl -fsSL https://deb.nodesource.com/setup_6.x | bash - && \ + curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \ + echo "deb [signed-by=/etc/apt/keyrings/yarnpkg.gpg] https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ apt-get update && \ apt-cache policy nodejs && \ apt-get install -y nodejs=6.14.4-1nodesource1 yarn diff --git a/linux/ecosystem/nodejs/outdated/node8/Dockerfile b/linux/ecosystem/nodejs/outdated/node8/Dockerfile index 4203fa9fb..e4c07208e 100644 --- a/linux/ecosystem/nodejs/outdated/node8/Dockerfile +++ b/linux/ecosystem/nodejs/outdated/node8/Dockerfile @@ -8,9 +8,9 @@ ARG DEBIAN_FRONTEND=noninteractive RUN groupadd node && \ useradd --gid node --shell /bin/bash --create-home node -RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - && \ - curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \ - echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ +RUN curl -fsSL https://deb.nodesource.com/setup_8.x | bash - && \ + curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \ + echo "deb [signed-by=/etc/apt/keyrings/yarnpkg.gpg] https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \ apt-get update && \ apt-cache policy nodejs && \ apt-get install -y nodejs=8.17.0-1nodesource1 yarn