From c523dc525876662aee00912d27eaf7940cf7b167 Mon Sep 17 00:00:00 2001 From: Quinten <67589015+QuintenQVD0@users.noreply.github.com> Date: Wed, 1 Nov 2023 20:15:32 +0100 Subject: [PATCH] Update bastion --- bot/bastion/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bot/bastion/Dockerfile b/bot/bastion/Dockerfile index f360d57..ed858fa 100644 --- a/bot/bastion/Dockerfile +++ b/bot/bastion/Dockerfile @@ -4,8 +4,10 @@ LABEL author="Michael Parker" maintainer="parker@pterodactyl.io" ## install nodejs 18 RUN apt update && apt install --no-install-recommends -y curl \ - && curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \ - && apt install -y nodejs \ + && 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_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \ + && apt update && apt install -y nodejs \ && npm install -g npm@latest \ ## install bastion reqs && apt install -y python3 build-essential git libtool netcat ffmpeg iproute2 tzdata tini \