From 21e32fc3904e1f6bba013d666c4f4b640c6c4985 Mon Sep 17 00:00:00 2001 From: Kyle McCormick Date: Tue, 23 Apr 2024 12:22:16 -0400 Subject: [PATCH] revert: revert: chore: upgrade to node 18 in edx-platform This reverts commit b1ffba23c93696b845673a403903c19a4920744c, restoring the Node 16->18 upgrade. Upstream PR: https://github.com/openedx/edx-platform/pull/34503 --- changelog.d/20240410_102248_regis_node18.md | 1 + tutor/templates/build/openedx/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/20240410_102248_regis_node18.md diff --git a/changelog.d/20240410_102248_regis_node18.md b/changelog.d/20240410_102248_regis_node18.md new file mode 100644 index 0000000..17308df --- /dev/null +++ b/changelog.d/20240410_102248_regis_node18.md @@ -0,0 +1 @@ +- [Improvement] Upgrade Nodejs from 16.14.0 to 18.20.1 in edx-platform. (by @regisb) diff --git a/tutor/templates/build/openedx/Dockerfile b/tutor/templates/build/openedx/Dockerfile index ebefd7e..bb66c51 100644 --- a/tutor/templates/build/openedx/Dockerfile +++ b/tutor/templates/build/openedx/Dockerfile @@ -122,7 +122,7 @@ ENV PATH /openedx/nodeenv/bin:/openedx/venv/bin:${PATH} # https://github.com/openedx/edx-platform/blob/master/requirements/edx/base.txt # https://github.com/pyenv/pyenv/releases RUN pip install nodeenv==1.8.0 -RUN nodeenv /openedx/nodeenv --node=16.14.0 --prebuilt +RUN nodeenv /openedx/nodeenv --node=18.20.1 --prebuilt # Install nodejs requirements ARG NPM_REGISTRY={{ NPM_REGISTRY }}