Skip to content

Commit

Permalink
feat: add vscode to base image
Browse files Browse the repository at this point in the history
  • Loading branch information
rokroskar committed Nov 14, 2020
1 parent f3a7a37 commit c43683d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions docker/py/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ RUN apt-get update && apt-get install -yq --no-install-recommends \
python-dev \
unzip \
vim && \
wget https://github.com/cdr/code-server/releases/download/v3.6.2/code-server_3.6.2_amd64.deb && \
dpkg -i ./code-server*.deb && \
rm code-server_3.6.2_amd64.deb && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
ln -s /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1
Expand All @@ -46,9 +49,12 @@ RUN python3 -m pip install --no-cache -U pip && \
python3 -m pip install --no-cache -r /tmp/requirements.txt && \
jupyter labextension install --no-build @jupyterlab/toc && \
jupyter labextension install --no-build jupyterlab-topbar-extension jupyterlab-system-monitor && \
jupyter serverextension enable --py jupyter_server_proxy && \
jupyter labextension install --no-build @jupyterlab/server-proxy && \
jupyter lab build && \
jupyter labextension list && \
npm cache clean --force && \
code-server --install-extension ms-python.python && \
rm -rf /home/${NB_USER}/.cache

# fix https://github.com/SwissDataScienceCenter/renku-jupyter/issues/14
Expand Down
8 changes: 5 additions & 3 deletions docker/py/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
papermill==2.1.3
requests>=2.20.0
git+https://github.com/betatim/vscode-binder
jupyterhub==1.1.0
nbresuse==0.3.6
jupyterlab-git==0.20.0
jupyter-server-proxy==1.5.0
nbresuse==0.3.6
papermill==2.1.3
pipx>=0.15.0.0
powerline-shell==0.7.0
requests>=2.20.0

0 comments on commit c43683d

Please sign in to comment.