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

Commit 5c221d7

Browse files
authored
Add JupyterLab to codespaces-linux (#1323)
* Add jupyterlab-debian.sh to codespaces-linux. * Install JupyterLab for codespaces-linux. * pip install from the base.Dockerfile. * Add check for jupyter-lab
1 parent b2d3db0 commit 5c221d7

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

containers/codespaces-linux/.devcontainer/base.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,14 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
7070
&& mkdir -p /usr/local/etc/vscode-dev-containers/ \
7171
&& mv -f /tmp/scripts/first-run-notice.txt /usr/local/etc/vscode-dev-containers/
7272

73-
# Install Python, PHP, Ruby utilities
73+
# Install Python, PHP, Ruby utilities, and JupyterLab
7474
RUN bash /tmp/scripts/python-debian.sh "none" "/opt/python/latest" "${PIPX_HOME}" "${USERNAME}" "true" \
7575
# Install rvm, rbenv, any missing base gems
7676
&& chown -R ${USERNAME} /opt/ruby/* \
7777
&& bash /tmp/scripts/ruby-debian.sh "none" "${USERNAME}" "true" "true" \
7878
# Link composer
7979
&& ln -s $(which composer.phar) /usr/local/bin/composer \
80+
&& pip install jupyterlab \
8081
&& apt-get clean -y
8182

8283
# Install PowerShell

containers/codespaces-linux/test-project/test.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ check "pydocstyle" pydocstyle --version
3131
check "bandit" bandit --version
3232
check "virtualenv" virtualenv --version
3333

34+
# Check JupyterLab
35+
check "jupyter-lab" jupyter-lab --version
36+
3437
# Check Java tools
3538
check "java" java -version
3639
check "sdkman" bash -c ". /usr/local/sdkman/bin/sdkman-init.sh && sdk version"

0 commit comments

Comments
 (0)