Closed chusc123 closed 4 days ago
Could you create a PR please? I also highly recommend not pasting dockerfile directly in the documentation and adding a new file here: https://github.com/jupyter/docker-stacks/tree/main/docs/using/recipe_code
You can then use this file in documentation easily: you can find many examples in this file: https://github.com/jupyter/docker-stacks/blob/main/docs/using/recipes.md
@chusc123 would you like to work on PR?
I decided to fix the recipe on my own - I tested the image and the javascript kernel seems to work fine
What docker image(s) are you using?
minimal-notebook, pytorch-notebook
Host OS system
nixos
Host architecture
x86_64
What Docker command are you running?
docker run
How to Reproduce the problem?
Follow instructions on https://github.com/jupyter/docker-stacks/blob/main/docs/using/recipes.md to install ijavascript kernel in Jupyter docker build
Command output
No response
Expected behavior
No response
Actual behavior
Recipes.md documentation has a section on installing the ijavascript kernel that is out of date and broken. https://github.com/jupyter/docker-stacks/blob/main/docs/using/recipes.md
iJavascript is currently not compatible with Node >20 due to Zeromq, but the conda environment currently installs node22 and defaults it systemwide. See this issue in the ijavascript GitHub: https://github.com/n-riesco/ijavascript/issues/289
If you follow the instructions in the documentation, the build will fail and it is fairly difficult to figure out why.
Anything else?
I have added a sample docker file that replaces condos node 22 with node 20 LTS that is compatible with ijavascript and also installs the build tools necessary to get it to work in the minimal notebook.
Here is a sample docker file that works to install ijavascript that should work with the other images as well:
We should replace the sample docker file in the documentation with some variation of the above that works: https://github.com/jupyter/docker-stacks/blob/main/docs/using/recipes.md
Latest Docker version