Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Latest commit

 

History

History
63 lines (41 loc) · 1.6 KB

jupyterlab.md

File metadata and controls

63 lines (41 loc) · 1.6 KB

IMPORTANT NOTE: We're starting to migrate contents of this repo to the devcontainers org, as part of the work on the open dev container specification.

We've currently migrated jupyterlab as part of the python Feature.

For more details, you can review the announcement issue.

JupyterLab Install Script

Installs JupyterLab.

Script status: Stable

OS support: Debian 9+, Ubuntu 18.04+, and downstream distros.

Maintainer: GitHub Codespaces team

Syntax

./jupyterlab-debian.sh

Or as a feature:

"features": {
  "jupyterlab": {
    "version": "latest"
  }
}

Usage

Feature use

To install this feature in your primary dev container, reference it in devcontainer.json as follows:

"features": {
  "jupyterlab": {
    "version": "latest"
  }
}

If you have already built your development container, run the Rebuild Container command from the command palette (Ctrl/Cmd + Shift + P or F1) to pick up the change.

You must have Python already installed in order to use this feature.

Script use

  1. Add jupyterlab-debian.sh to .devcontainer/library-scripts

  2. Add the following to your .devcontainer/Dockerfile:

    COPY library-scripts/jupyterlab-debian.sh /tmp/library-scripts/
    RUN bash /tmp/library-scripts/jupyterlab-debian.sh

That's it!