From e264e613c10dc10fa3172d5fa6bf2409abac62ed Mon Sep 17 00:00:00 2001 From: branberry Date: Wed, 1 Nov 2023 15:22:20 -0500 Subject: [PATCH] Update dockerfiler --- Dockerfile.enhanced | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile.enhanced b/Dockerfile.enhanced index 2eeccb459..0bf4217c8 100644 --- a/Dockerfile.enhanced +++ b/Dockerfile.enhanced @@ -50,8 +50,10 @@ ENV PATH="${PATH}:/opt/snooty:/opt/mut:/home/docsworker-xlarge/.local/bin:/usr/l # get node 18 # https://gist.github.com/RinatMullayanov/89687a102e696b1d4cab RUN apt-get install --yes curl -RUN curl --location https://deb.nodesource.com/setup_18.x | bash - -RUN apt-get install --yes nodejs +RUN apt-get update && sudo apt-get install -y ca-certificates curl gnupg +RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg +RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list +RUN sudo apt-get update && sudo apt-get install nodejs -y RUN apt-get install --yes build-essential # use npm 8.*