jupyter / tmpnb

Creates temporary Jupyter Notebook servers using Docker containers. [DEPRECATED - See BinderHub project]
https://github.com/jupyterhub/binderhub
BSD 3-Clause "New" or "Revised" License
528 stars 123 forks source link

Use alpine:3.5 base image? #270

Closed misolietavec closed 7 years ago

misolietavec commented 7 years ago

I forked this repository as misolietavec/tmpnb where the Dockerfile is written for the base image alpine:3.5. The resulting image has 26 packages installed by distribution tools (apk), 10 packages installed by pip3 (docker-py, tornado, pytz and dependencies), image size is 72 MB. In contrast, the jupyter/tmpnb image size is 596 MB, it has 351 (apt installed) packages and 11 packages installed by pip. I am testing alpine based image on tmpnb server in our university, seems to be OK. I am not sure about version restrictions for pip installed packages, I used actual (newest) from pypi.

Maybe, the mainstream tmpnb image can use Alpine base image, with not too much effort?

willingc commented 7 years ago

Hi @misolietavec,

Closing this as a duplicate of https://github.com/jupyterhub/configurable-http-proxy/issues/102. 👍

rgbkrk commented 7 years ago

Feel free to make a PR with the alpine base image.