Skip to content

Jupyter Lab dockerfile ver 1.4

Compare
Choose a tag to compare
@cainmagi cainmagi released this 11 Apr 20:30

This release is just a tag for the Jupyter Lab Dockerfile. It does not contain any extra files or packages.

Using mamba 🐍

Since the 1.4 dockerfile, we support an replace the conda package manager by mamba 🔗. We make this replacement because conda becomes extremely and unacceptably slow when using python=3.6. The mamba shares the same configuration files from conda, but has a fluent and fast speed during the package solution. If the following conditions are fulfilled, we will try to install mamba with conda, and use mamba to replace conda.

  1. The current python3 is managed by conda.
  2. The current python3 is at least 3.6.
  3. The dockerfile option JLAB_IMODE is configured as conda. This is the default configuration.

If either one of the above conditions is not satisfied, the installation would fall back to pip mode.

A fixture on get-pip.py 🔧

Since the 1.4 dockerfile, we add a small fixture when reinstalling the pip manager. Currently, we find that if we using the PYPA get-pip script 📜, NVIDIA image will limit the pip version as <=19, which is not necessary. So we let mamba / pip update the pip after the lib is confirmed to be installed.