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. In this topic, you will learn how to add a Scala kernel to your Environment.
USER root
# Install scala (requires java to already be installed)
RUN echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | sudo tee /etc/apt/sources.list.d/sbt.list &&
curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | sudo apt-key add &&
apt-get update && apt-get install sbt &&
rm -rf /var/lib/apt/lists/* &&
rm -Rf /tmp/*
https://xxx[USER] ubuntu
# Install scala kernel (almond)
RUN sudo curl -Lo coursier https://git.io/coursier-cli &&
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 can start Scala notebooks and run Scala commands directly from the JupyterLab console.
You can add new kernels to Domino Environments like you added the scala kernel. See https://almond.sh/docs/quick-start-install for more information about how to install the Scala kernel.