diff --git a/changelog.d/20231121_114409_regis_fix_nodeenv.md b/changelog.d/20231121_114409_regis_fix_nodeenv.md new file mode 100644 index 0000000..e26ebdc --- /dev/null +++ b/changelog.d/20231121_114409_regis_fix_nodeenv.md @@ -0,0 +1 @@ +- [Bugfix] Fix build error due to outdated nodeenv. (by @regisb) diff --git a/tutorcredentials/templates/credentials/build/credentials/Dockerfile b/tutorcredentials/templates/credentials/build/credentials/Dockerfile index c75140c..f6c3e05 100644 --- a/tutorcredentials/templates/credentials/build/credentials/Dockerfile +++ b/tutorcredentials/templates/credentials/build/credentials/Dockerfile @@ -106,8 +106,8 @@ FROM python as nodejs-requirements ENV PATH /openedx/nodeenv/bin:/openedx/venv/bin:${PATH} # Install nodeenv with the version provided by credentials -# https://github.com/pyenv/pyenv/releases -RUN pip install nodeenv==1.7.0 +# https://github.com/ekalinin/nodeenv/releases +RUN pip install nodeenv==1.8.0 RUN nodeenv /openedx/nodeenv --node=16.14.0 --prebuilt # Install nodejs requirements