From 46d3fb488a1e7f129d448c8847c58be898e24eb8 Mon Sep 17 00:00:00 2001 From: usimd <11619247+usimd@users.noreply.github.com> Date: Sat, 11 Nov 2023 12:45:34 +0100 Subject: [PATCH] Update nodesource installation in IT --- __test__/it-test-stage/00-nodejs/00-run-chroot.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/__test__/it-test-stage/00-nodejs/00-run-chroot.sh b/__test__/it-test-stage/00-nodejs/00-run-chroot.sh index 3522c97..e621375 100755 --- a/__test__/it-test-stage/00-nodejs/00-run-chroot.sh +++ b/__test__/it-test-stage/00-nodejs/00-run-chroot.sh @@ -1,3 +1,5 @@ #!/bin/bash -apt-get install -y curl -curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \ No newline at end of file +apt-get install -y curl gnupg +mkdir -p /etc/apt/keyrings +curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg +echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_21.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \ No newline at end of file