From 0beced3aac95d6eb7936cf68da35abff29d567cf Mon Sep 17 00:00:00 2001 From: urvish667 Date: Mon, 18 Sep 2023 12:39:56 +0530 Subject: [PATCH] Fix deprecation of deb.nodesource.com/setup_16.x Signed-off-by: urvish667 --- tools/docker/indy-sdk-cli/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/docker/indy-sdk-cli/Dockerfile b/tools/docker/indy-sdk-cli/Dockerfile index 1e03203b52d..4c81c38a213 100644 --- a/tools/docker/indy-sdk-cli/Dockerfile +++ b/tools/docker/indy-sdk-cli/Dockerfile @@ -22,8 +22,9 @@ RUN apt-get update \ make \ && rm -rf /var/lib/apt/lists/* -# NodeJS -RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - +# NodeJS - Updated to use the new NodeSource installation method +RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /usr/share/keyrings/nodesource-archive-keyring.gpg \ + && echo "deb [arch=amd64 signed-by=/usr/share/keyrings/nodesource-archive-keyring.gpg] https://deb.nodesource.com/node bionic main" | tee /etc/apt/sources.list.d/nodesource.list # Indy-sdk RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys CE7709D068DB5E88 \