mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2025-01-13 15:17:56 +03:00
nodejs fix
This commit is contained in:
parent
b5d88b8754
commit
2af31526ba
@ -8,9 +8,9 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||||||
RUN groupadd node && \
|
RUN groupadd node && \
|
||||||
useradd --gid node --shell /bin/bash --create-home node
|
useradd --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
|
RUN curl -fsSL https://deb.nodesource.com/setup_10.x | bash - && \
|
||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
|
curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \
|
||||||
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
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 update && \
|
||||||
apt-cache policy nodejs && \
|
apt-cache policy nodejs && \
|
||||||
apt-get install -y nodejs=10.24.1-deb-1nodesource1 yarn
|
apt-get install -y nodejs=10.24.1-deb-1nodesource1 yarn
|
||||||
|
@ -9,8 +9,8 @@ RUN groupadd node && \
|
|||||||
useradd --gid node --shell /bin/bash --create-home node
|
useradd --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_11.x | bash - && \
|
RUN curl -sL https://deb.nodesource.com/setup_11.x | bash - && \
|
||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
|
curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \
|
||||||
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
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 update && \
|
||||||
apt-get install -y nodejs yarn
|
apt-get install -y nodejs yarn
|
||||||
|
|
||||||
|
@ -8,9 +8,9 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||||||
RUN groupadd node && \
|
RUN groupadd node && \
|
||||||
useradd --gid node --shell /bin/bash --create-home node
|
useradd --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - && \
|
RUN curl -fsSL https://deb.nodesource.com/setup_12.x | bash - && \
|
||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
|
curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \
|
||||||
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
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 update && \
|
||||||
apt-get install -y nodejs yarn && \
|
apt-get install -y nodejs yarn && \
|
||||||
npm install -g pnpm
|
npm install -g pnpm
|
||||||
|
@ -8,9 +8,9 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||||||
RUN groupadd node && \
|
RUN groupadd node && \
|
||||||
useradd --gid node --shell /bin/bash --create-home node
|
useradd --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_13.x | bash - && \
|
RUN curl -fsSL https://deb.nodesource.com/setup_13.x | bash - && \
|
||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
|
curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \
|
||||||
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
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 update && \
|
||||||
apt-get install -y nodejs yarn && \
|
apt-get install -y nodejs yarn && \
|
||||||
npm install -g pnpm
|
npm install -g pnpm
|
||||||
|
@ -8,9 +8,9 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||||||
RUN groupadd node && \
|
RUN groupadd node && \
|
||||||
useradd --gid node --shell /bin/bash --create-home node
|
useradd --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash - && \
|
RUN curl -fsSL https://deb.nodesource.com/setup_14.x | bash - && \
|
||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
|
curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \
|
||||||
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
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 clean && apt-get autoclean && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y nodejs yarn && \
|
apt-get install -y nodejs yarn && \
|
||||||
|
@ -8,16 +8,16 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||||||
RUN groupadd node && \
|
RUN groupadd node && \
|
||||||
useradd --gid node --shell /bin/bash --create-home node
|
useradd --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_15.x | bash - && \
|
RUN curl -fsSL https://deb.nodesource.com/setup_15.x | bash - && \
|
||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
|
curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \
|
||||||
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
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 clean && apt-get autoclean && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y -o nodejs yarn && \
|
apt-get install -y yarn && \
|
||||||
npm install -g pnpm
|
npm install -g pnpm
|
||||||
|
|
||||||
# curl -L https://www.npmjs.com/install.sh | sh
|
#RUN curl -L https://www.npmjs.com/install.sh | bash && \
|
||||||
# npm install -g npm
|
# npm install -g npm
|
||||||
|
|
||||||
RUN echo "=============================================" && \
|
RUN echo "=============================================" && \
|
||||||
echo node $(node --version) && \
|
echo node $(node --version) && \
|
||||||
|
@ -8,9 +8,9 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||||||
RUN groupadd node && \
|
RUN groupadd node && \
|
||||||
useradd --gid node --shell /bin/bash --create-home node
|
useradd --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
|
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \
|
||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
|
curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \
|
||||||
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
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 clean && apt-get autoclean && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y nodejs yarn && \
|
apt-get install -y nodejs yarn && \
|
||||||
|
@ -9,8 +9,8 @@ RUN groupadd node && \
|
|||||||
useradd --gid node --shell /bin/bash --create-home node
|
useradd --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
RUN curl -fsSL https://deb.nodesource.com/setup_17.x | bash - && \
|
RUN curl -fsSL https://deb.nodesource.com/setup_17.x | bash - && \
|
||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
|
curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \
|
||||||
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
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 clean && apt-get autoclean && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y nodejs yarn && \
|
apt-get install -y nodejs yarn && \
|
||||||
|
@ -8,9 +8,9 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||||||
RUN groupadd node && \
|
RUN groupadd node && \
|
||||||
useradd --gid node --shell /bin/bash --create-home node
|
useradd --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - && \
|
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
|
||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
|
curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \
|
||||||
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
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 clean && apt-get autoclean && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y nodejs yarn && \
|
apt-get install -y nodejs yarn && \
|
||||||
|
@ -8,9 +8,9 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||||||
RUN groupadd node && \
|
RUN groupadd node && \
|
||||||
useradd --gid node --shell /bin/bash --create-home node
|
useradd --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_19.x | bash - && \
|
RUN curl -fsSL https://deb.nodesource.com/setup_19.x | bash - && \
|
||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
|
curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \
|
||||||
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
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 clean && apt-get autoclean && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y nodejs yarn && \
|
apt-get install -y nodejs yarn && \
|
||||||
|
@ -8,9 +8,9 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||||||
RUN groupadd node && \
|
RUN groupadd node && \
|
||||||
useradd --gid node --shell /bin/bash --create-home node
|
useradd --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_4.x | bash - && \
|
RUN curl -fsSL https://deb.nodesource.com/setup_4.x | bash - && \
|
||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
|
curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \
|
||||||
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
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 update && \
|
||||||
apt-cache policy nodejs && \
|
apt-cache policy nodejs && \
|
||||||
apt-get install -y nodejs=4.8.7-1nodesource1 yarn
|
apt-get install -y nodejs=4.8.7-1nodesource1 yarn
|
||||||
|
@ -8,9 +8,9 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||||||
RUN groupadd node && \
|
RUN groupadd node && \
|
||||||
useradd --gid node --shell /bin/bash --create-home node
|
useradd --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - && \
|
RUN curl -fsSL https://deb.nodesource.com/setup_6.x | bash - && \
|
||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
|
curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \
|
||||||
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
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 update && \
|
||||||
apt-cache policy nodejs && \
|
apt-cache policy nodejs && \
|
||||||
apt-get install -y nodejs=6.14.4-1nodesource1 yarn
|
apt-get install -y nodejs=6.14.4-1nodesource1 yarn
|
||||||
|
@ -8,9 +8,9 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||||||
RUN groupadd node && \
|
RUN groupadd node && \
|
||||||
useradd --gid node --shell /bin/bash --create-home node
|
useradd --gid node --shell /bin/bash --create-home node
|
||||||
|
|
||||||
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
|
RUN curl -fsSL https://deb.nodesource.com/setup_8.x | bash - && \
|
||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - && \
|
curl -fsSL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo gpg --dearmor -o /etc/apt/keyrings/yarnpkg.gpg && \
|
||||||
echo "deb https://nightly.yarnpkg.com/debian/ nightly main" > /etc/apt/sources.list.d/yarn.list && \
|
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 update && \
|
||||||
apt-cache policy nodejs && \
|
apt-cache policy nodejs && \
|
||||||
apt-get install -y nodejs=8.17.0-1nodesource1 yarn
|
apt-get install -y nodejs=8.17.0-1nodesource1 yarn
|
||||||
|
Loading…
x
Reference in New Issue
Block a user