Skip to content

Commit 50f7496

Browse files
committed
add binder badges
1 parent 9402b58 commit 50f7496

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Minimal Dockerfiles for Binder
22

3+
[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/binder-examples/minimal-dockerfile/master)
4+
35
Binder 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
1921
which would make the shortest, smallest dockerfile:
2022

2123
```docker
22-
FROM python:3.6-alpine
24+
FROM python:3.7-slim
2325
RUN pip install --no-cache notebook
2426
ENV 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+
2731
However, it would be better to consume the NB_UID/NB_USER arguments and create a real user:
2832

2933
```docker

0 commit comments

Comments
 (0)