From 72e6c1b7f6e39040aa304148621ad6d10f854a2e Mon Sep 17 00:00:00 2001 From: Paul Abumov Date: Tue, 13 Aug 2024 10:52:16 -0400 Subject: [PATCH] Downgrade NodeJS from v22 to v20 --- Dockerfile | 2 +- docker/dockerfiles/Dockerfile.ubuntu-24.04 | 2 +- .../how_to_use/efficiency_organization/manual_installation.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 77f186e81..5ab92a869 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Using the -slim version below for minimal size. You may want to # remove -slim, or switch to -alpine if encountering issues -ARG BASE_TAG=python3.9-nodejs22-slim +ARG BASE_TAG=python3.9-nodejs20-slim ARG BASE_IMAGE=nikolaik/python-nodejs:$BASE_TAG FROM $BASE_IMAGE diff --git a/docker/dockerfiles/Dockerfile.ubuntu-24.04 b/docker/dockerfiles/Dockerfile.ubuntu-24.04 index 2ff585a22..422165c9f 100644 --- a/docker/dockerfiles/Dockerfile.ubuntu-24.04 +++ b/docker/dockerfiles/Dockerfile.ubuntu-24.04 @@ -26,7 +26,7 @@ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | b RUN export NVM_DIR="$HOME/.nvm" \ && [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" \ && [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" \ - && nvm install 22 \ + && nvm install 20 \ && ln -s $(which node) /usr/bin/node \ && ln -s $(which npm) /usr/bin/npm diff --git a/docs/web/docs/guides/how_to_use/efficiency_organization/manual_installation.md b/docs/web/docs/guides/how_to_use/efficiency_organization/manual_installation.md index c4bfe2773..c0cf0415a 100644 --- a/docs/web/docs/guides/how_to_use/efficiency_organization/manual_installation.md +++ b/docs/web/docs/guides/how_to_use/efficiency_organization/manual_installation.md @@ -62,7 +62,7 @@ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash export NVM_DIR="$HOME/.nvm" \ && [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" \ && [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" \ - && nvm install 22 \ + && nvm install 20 \ && ln -s $(which node) /usr/bin/node \ && ln -s $(which npm) /usr/bin/npm npm install -g yarn