pangeo-data / pangeo-stacks

Curated Docker images for use with Jupyter and Pangeo
https://pangeo-data.github.io/pangeo-stacks/
BSD 3-Clause "New" or "Revised" License
17 stars 20 forks source link

Support EXTRA_*_PACKAGES like dask images #89

Open TomAugspurger opened 5 years ago

TomAugspurger commented 5 years ago

From https://gitter.im/pangeo-data/Lobby?at=5dc6325beeb63e1a837e6f4a.

Dask does this in a https://github.com/dask/dask-docker/blob/master/base/prepare.sh.

IIUC, we may need to add the EXTRA_PIP_PACKAGES stuff to either postBuild or start https://mybinder.readthedocs.io/en/latest/config_files.html#start-run-code-before-the-user-sessions-starts. I’m not sure, but I thikn it would have to be start, since we really don’t know the value of EXTRA_PIP_PACKAGES until the container is being created.

rabernat commented 5 years ago

Would have been nice to get this in #90.

cspencerjones commented 4 years ago

I would also find this capability useful. It would be nice to be able to use/test packages without permanently adding them to the environment, going through staging, etc.