Adding new jupyter kernels to your environmentΒΆ

By default the Domino Standard Environment includes kernels for Python and Julia. However,``` you can add new kernels to your environment in just a few steps. Below we will show how you might add a scala kernel to your environment.

Install any necessary dependencies

USER root

# Install scala (requires java to already be installed)
RUN echo "deb all main" | sudo tee /etc/apt/sources.list.d/sbt.list && \
curl -sL "" | sudo apt-key add && \
apt-get update && apt-get install sbt && \
rm -rf /var/lib/apt/lists/* && \
rm -Rf /tmp/*

USER ubuntu

# Install scala kernel (almond)
RUN sudo curl -Lo coursier && \
    sudo chmod +x coursier && \
    ./coursier launch --fork almond:0.10.9 --scala 2.12 -- --install && \
    sudo rm -f coursier

After adding these commands to your environment Dockerfile you will have the ability to start scala notebooks and run scala commands directly from the JupyterLab console.


We can add new kernels to domino environments much like we added the scala kernel. You can find more info on how to install the scala kernel at