Comments (4)
Here's a Dockerfile that works:
FROM jupyter/base-notebook
USER root
RUN apt-get update -y && \
apt-get install -y git && \
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
USER $NB_USER
RUN pip install git+https://github.com/betatim/vscode-binder && \
jupyter serverextension enable --py jupyter_server_proxy && \
jupyter labextension install --no-build @jupyterlab/server-proxy && \
jupyter lab build && \
npm cache clean --force && \
rm -rf /home/${NB_USER}/.cache && \
code-server --install-extension ms-python.python
I'd be happy to make a PR that adds this is a documentation of sorts but I'm not sure where it should go.
from vscode-binder.
You might find this discussion on zero-to-jupyterhub useful, it includes a Dockerfile:
jupyterhub/zero-to-jupyterhub-k8s#1902
from vscode-binder.
Indeed thanks for the pointer @manics - looking quickly at that PR it seems that all that is needed for what they're describing is exactly this type of minimal Dockerfile that just adds code to the base jupyter image. Doesn't require any changes to JH at all and if you give the users the choice of default starting URL they can just launch straight into VSCode. Anyway, I'll read the rest of that thread and add comments there :)
from vscode-binder.
See what @betatim thinks regarding how he wants to manage this repo, but one option could be to create your own repo, setup an automated build on Docker Hub (or some other system) and link to it from the README?
from vscode-binder.
Related Issues (20)
- code-server 3.2 is incompatible with this repository HOT 3
- Factor out a conda package HOT 11
- The installation of the ms-python.python fails HOT 2
- VS-Code starts blank in our JupyterHub setup (websocket failure) HOT 5
- Can't connect errors on hub.mybinder.turing.ac.uk HOT 9
- vscode shows in jupyterlab but not jupyterhub HOT 1
- Demo Config - VSCode setup like RStudio
- Is it possible to use vscodium instead? HOT 3
- postBuild error and unable to install extensions on setup HOT 1
- VSCode button not showing up (GESIS Notebooks)
- Python interactive window doesn't work in Binder HOT 2
- Make this repo work with python and jupyter extensions HOT 5
- Maintenance HOT 7
- Documentation ? HOT 1
- Proxy breaks with VSCode >= v4.10.1 HOT 2
- Define code-server start parameters
- Allow to switch the icon to code-server icon HOT 2
- How do I convert this to work with Jupyterhub
- running jupyter notebooks in vscode HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-binder.