nodejs fix

This commit is contained in:
STAM 2024-02-10 01:29:09 +03:00
parent b5d88b8754
commit 2af31526ba
No known key found for this signature in database
GPG Key ID: 711526C6938897F1
13 changed files with 41 additions and 41 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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 && \

View File

@ -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) && \

View File

@ -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 && \

View File

@ -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 && \

View File

@ -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 && \

View File

@ -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 && \

View File

@ -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

View File

@ -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

View File

@ -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