Skip to content

Commit 0907337

Browse files
Adding jupyterlab extensions
1 parent 01f1dc8 commit 0907337

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

tensorflow-1.13.def

+18
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@ From: tensorflow/tensorflow:1.13.1-gpu-py3-jupyter
1010
# reset sources to https://us.archive.ubuntu.com
1111
sed -i 's/http:\/\/archive.ubuntu.com/http:\/\/us.archive.ubuntu.com/' /etc/apt/sources.list
1212

13+
# install node
14+
curl -sL https://deb.nodesource.com/setup_11.x | bash -
15+
apt-get -y install nodejs
16+
17+
# install yarn
18+
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
19+
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
20+
apt update && apt install -y yarn
21+
yarn --version
22+
node --version
23+
npm --version
24+
1325
# sessions and windows in shell
1426
apt update && apt install -y tmux
1527

@@ -27,6 +39,12 @@ From: tensorflow/tensorflow:1.13.1-gpu-py3-jupyter
2739
pip install jupyter_contrib_nbextensions
2840
pip install jupyterlab
2941

42+
# jupyterlab extensions
43+
jupyter labextension install @jupyterlab/toc
44+
jupyter labextension install @krassowski/jupyterlab_go_to_definition
45+
jupyter labextension install jupyterlab-drawio
46+
jupyter labextension install @ryantam626/jupyterlab_sublime
47+
3048
# keras and visualization tools
3149
pip install keras
3250
apt update && apt install -y graphviz

0 commit comments

Comments
 (0)