From ff85b7abc6d08cd59c35257c7871affdac4b9e34 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Tue, 26 Dec 2023 13:17:32 -0800 Subject: [PATCH] docker: update all node install scripts --- install/docker/Dockerfile.full | 2 +- install/docker/Dockerfile.lite | 2 +- install/docker/Dockerfile.thin | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install/docker/Dockerfile.full b/install/docker/Dockerfile.full index 8fca03989..b864eb211 100644 --- a/install/docker/Dockerfile.full +++ b/install/docker/Dockerfile.full @@ -25,7 +25,7 @@ RUN apt-get update && apt-get -y install \ apt-get -y upgrade ARG NODE_VERSION=18 -RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - +RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_VERSION.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list RUN apt-get update && apt-get install -y nodejs # python native diff --git a/install/docker/Dockerfile.lite b/install/docker/Dockerfile.lite index c38afc068..c9b5ef006 100644 --- a/install/docker/Dockerfile.lite +++ b/install/docker/Dockerfile.lite @@ -17,7 +17,7 @@ RUN apt-get update && apt-get -y install \ apt-get -y upgrade ARG NODE_VERSION=18 -RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - +RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_VERSION.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list RUN apt-get update && apt-get install -y nodejs # python native diff --git a/install/docker/Dockerfile.thin b/install/docker/Dockerfile.thin index f42aec325..6ce465bc4 100644 --- a/install/docker/Dockerfile.thin +++ b/install/docker/Dockerfile.thin @@ -9,7 +9,7 @@ RUN apt-get -y update && \ # switch to nvm? ARG NODE_VERSION=18 -RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION}.x | bash - && apt-get update && apt-get install -y nodejs +RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_VERSION.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list ENV SCRYPTED_INSTALL_ENVIRONMENT="docker" ENV SCRYPTED_CAN_RESTART="true"