From 270ca1c50074c52dad4b08ec583b05c0744c2ca1 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Sun, 7 Jan 2024 06:39:24 -0500 Subject: [PATCH] fix(seacogs): use env instead of run to set env vars --- SeaCogs/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SeaCogs/Dockerfile b/SeaCogs/Dockerfile index 47b7499..0b79a0e 100644 --- a/SeaCogs/Dockerfile +++ b/SeaCogs/Dockerfile @@ -17,7 +17,7 @@ RUN apt-get install -y \ RUN apt-get install -y ca-certificates curl gnupg RUN mkdir -p /etc/apt/keyrings RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg -RUN export NODE_MAJOR=12 +ENV NODE_MAJOR=12 RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_MAJOR}.x focal main" | sudo tee /etc/apt/sources.list.d/nodesource.list > /dev/null RUN apt-get update && apt-get install -y nodejs