seismo-live / seismo_live

Live Jupyter Notebooks for Seismology
http://seismo-live.org
78 stars 74 forks source link

Binder migration: New docker based setup with self-contained and stable pre-built base image on docker hub #36

Closed megies closed 4 years ago

megies commented 4 years ago

What this does..

The state of the PR can be tested on mybinder.org at this URL:

https://mybinder.org/v2/gh/krischer/seismo_live/binder_dockerfile

The only remaining issue is if/how to update notebooks when starting the docker base image. See the explanations at the bottom of README.md. Currently, the state of the notebooks will not be automatically updated when starting the docker image on binder. For debugging/testing, it is possible to $ git pull after starting a terminal in the jupyter session on binder. To update the notebooks, building a new base image seems easiest right now, although in principle the pre-notebook-start hooks (explained in README.md) should be able to do exactly that.

n.b. the PR commit history is rather messy due to a lot of CI debugging (without logs being available), but it might be useful in the future to retrace different approaches that were explored, so it might be good to keep it.

megies commented 4 years ago

Feel free to merge whenever @krischer