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 \