From 50f74968371fa1ff8f800790c64d117c9fcacfd3 Mon Sep 17 00:00:00 2001 From: Min RK Date: Thu, 20 Sep 2018 12:57:19 +0200 Subject: [PATCH] add binder badges --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5434b1c..2a0c521 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Minimal Dockerfiles for Binder +[![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/binder-examples/minimal-dockerfile/master) + Binder needs only one thing to work: - 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 which would make the shortest, smallest dockerfile: ```docker -FROM python:3.6-alpine +FROM python:3.7-slim RUN pip install --no-cache notebook ENV HOME=/tmp ``` +which you can try out: [![Binder](https://mybinder.org/badge.svg)](https://mybinder.org/v2/gh/binder-examples/minimal-dockerfile/truly-minimal) + However, it would be better to consume the NB_UID/NB_USER arguments and create a real user: ```docker