Hello! I am trying to add a Julia kernel to an existing JupyterHub, that is managed through a repo2docker configuration. The configuration for this one is very similar to the one that I have here: https://github.com/nrdg/hcp-pangeo-docker. A user of the JH asked me to add a Julia kernel. What are the steps I need to take to make repo2docker pull in a Julia dependency and add a Julia kernel to the JupyterLab launch page?
Following the repo2docker documentation, I thought that all I would have to do is add a
Project.toml file into the directory in which I run repo2docker and that would make repo2docker pick it up and I would then have a Julia kernel in my launch page. But that doesn’t seem to be the case. Anything I am missing?
Just to add, I don’t see anything in the repo2docker output to indicate that the
Project.toml file was detected. See https://pastebin.com/XaxjrGkX (can’t put it here, because of character limitations )
The repo you’ve linked to uses a Dockerfile which means all other repo2docker files are ignored: https://repo2docker.readthedocs.io/en/latest/config_files.html#dockerfile-advanced-environments
Though in this case it’s a bit more complicated. The Dockerfile:
is based on https://hub.docker.com/r/pangeo/base-notebook-onbuild which looks like it has some magic to run some of the repo2docker build steps. I think this might be it: https://github.com/pangeo-data/pangeo-stacks/blob/cceab38878d7b73c4a101aa7ebf8ab8f655390ee/onbuild/r2d_overlay.py