Fix iJavascript Dockerfile Snippet in Recipes.md #2136
Labels
status:Need Info
We believe we need more information about an issue from the reporting user to help, debug, fix
type:Bug
A problem with the definition of one of the docker images maintained here
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: n-riesco/ijavascript#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
The text was updated successfully, but these errors were encountered: