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 1
1
# Minimal Dockerfiles for Binder
2
2
3
+ [ ![ Binder] ( https://mybinder.org/badge.svg )] ( https://mybinder.org/v2/gh/binder-examples/minimal-dockerfile/master )
4
+
3
5
Binder needs only one thing to work:
4
6
5
7
- 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
19
21
which would make the shortest, smallest dockerfile:
20
22
21
23
``` docker
22
- FROM python:3.6-alpine
24
+ FROM python:3.7-slim
23
25
RUN pip install --no-cache notebook
24
26
ENV HOME=/tmp
25
27
```
26
28
29
+ which you can try out: [ ![ Binder] ( https://mybinder.org/badge.svg )] ( https://mybinder.org/v2/gh/binder-examples/minimal-dockerfile/truly-minimal )
30
+
27
31
However, it would be better to consume the NB_UID/NB_USER arguments and create a real user:
28
32
29
33
``` docker
You can’t perform that action at this time.
0 commit comments