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