From 002b86dc2a4bfa910b36cec90e562572a8cf8cf6 Mon Sep 17 00:00:00 2001 From: Simeon Romanov Date: Thu, 7 Sep 2023 12:11:01 +0300 Subject: [PATCH] nodejs fix --- dockerfiles/alpine/Dockerfile | 3 ++- dockerfiles/alpine/Dockerfile.dev | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dockerfiles/alpine/Dockerfile b/dockerfiles/alpine/Dockerfile index 5b124f19..5479d525 100644 --- a/dockerfiles/alpine/Dockerfile +++ b/dockerfiles/alpine/Dockerfile @@ -14,7 +14,8 @@ RUN apt-get update \ && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg # Create deb repository -ENV NODE_MAJOR=20 +# FIXME: Replace it with Nodejs 20.x when it will be fixed +ENV NODE_MAJOR=18 RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list # Install yarn keys diff --git a/dockerfiles/alpine/Dockerfile.dev b/dockerfiles/alpine/Dockerfile.dev index b593da33..61ed177a 100644 --- a/dockerfiles/alpine/Dockerfile.dev +++ b/dockerfiles/alpine/Dockerfile.dev @@ -14,7 +14,8 @@ RUN apt-get update \ && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg # Create deb repository -ENV NODE_MAJOR=20 +# FIXME: Replace it with Nodejs 20.x when it will be fixed +ENV NODE_MAJOR=18 RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list # Install yarn keys