File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 11# Minimal Dockerfiles for Binder
22
3+ [ ![ Binder] ( https://mybinder.org/badge.svg )] ( https://mybinder.org/v2/gh/binder-examples/minimal-dockerfile/master )
4+
35Binder needs only one thing to work:
46
57- to be able to launch ` jupyter notebook ` as a specified user (passed via docker build args as NB_UID/NB_USER)
@@ -19,11 +21,13 @@ The absolute bare minimum for this is to set HOME to `/tmp` so that it's writabl
1921which would make the shortest, smallest dockerfile:
2022
2123``` docker
22- FROM python:3.6-alpine
24+ FROM python:3.7-slim
2325RUN pip install --no-cache notebook
2426ENV HOME=/tmp
2527```
2628
29+ which you can try out: [ ![ Binder] ( https://mybinder.org/badge.svg )] ( https://mybinder.org/v2/gh/binder-examples/minimal-dockerfile/truly-minimal )
30+
2731However, it would be better to consume the NB_UID/NB_USER arguments and create a real user:
2832
2933``` docker
You can’t perform that action at this time.
0 commit comments