From 0820411436ca335367eb34cccd9556bc17fd9e42 Mon Sep 17 00:00:00 2001 From: Peter Dekkers Date: Mon, 11 Dec 2023 20:55:42 +0100 Subject: [PATCH] Updated Kotlin kernel version --- Dockerfile | 4 ++-- bin/README.adoc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1faaca0..60669a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ USER 1000 # Install the Kotlin kernel in the Jupyter environment # RUN pip install kotlin-jupyter-kernel==0.11.0.255 -RUN pip install -i https://test.pypi.org/simple/ kotlin-jupyter-kernel==0.12.0.56 +RUN pip install -i https://test.pypi.org/simple/ kotlin-jupyter-kernel==0.12.0.97 # Make additional Kotlin kernels available with different memory profiles RUN python -m kotlin_kernel add-kernel --name "Small_0.5GB" --jvm-arg=-Xmx512M @@ -26,7 +26,7 @@ RUN python -m kotlin_kernel add-kernel --name "Large_8GB" --jvm-arg=-Xmx8G RUN mkdir -p /home/jovyan/notebooks COPY --chown=1000:100 notebooks /home/jovyan/notebooks -# Run the preload notebook to load libraries and historic data onto the image +# Run the preload notebook to pre-load libraries and historic data onto the image RUN jupyter nbconvert --to notebook --execute notebooks/preload.ipynb && rm -f notebooks/preload*.ipynb diff --git a/bin/README.adoc b/bin/README.adoc index 0bc8a68..03fef4d 100644 --- a/bin/README.adoc +++ b/bin/README.adoc @@ -56,5 +56,5 @@ If you just want to test the docker build on your local machine, you can use the NOTE: Currently, only shell scripts are provided to build and start notebooks. So if you're on Windows, you either have to use WSL or run the commands in the shell script from the command line manually. == MyBinder.org -In order to start _roboquant_ notebooks quickly on MyBinder.org, there is a `binder directory included with a `Dockerfile` that retrieves the latest image from Docker Hub. +To start _roboquant_ notebooks quickly on MyBinder.org, there is a `binder directory included with a `Dockerfile` that retrieves the latest image from Docker Hub. This avoids MyBinder.org having to build the image from scratch that would otherwise lead to prolonged startup times.