Closed TomAugspurger closed 4 years ago
@TomAugspurger Yes, this should be safe to do. The docs need to be improved around this (and the clean command can probably be more aggressive than it is), but you can find some discussion around this here
Thanks @TomAugspurger ! I'm all for merging this.
This is great! Also for merging!
@TomAugspurger - can you push one more commit on this branch to trigger rebuilding the images with CI? Thanks!
I've synced this with master. I'll watch the build and merge on green.
I was looking into pangeo's docker images using dive and noticed that the
./binder/postBuild
step increased the size of the image by 455MB.About the only think we do is the
jupyter labextension install
of dask-labextension and jupyterlab-manger. This left behind a few sizable filesjupyter/lab/staging
js.map
sourcemaps, which I believe are primarily useful for debugging.jupyter labextension install
has a--clean
flag but that didn't seem to clear everything.npm cache clean --force
didn't seem to do anything at all. So I resorted to justrm
ing some things.@ian-r-rose do you think deleting this files is safe to do? Is
lab/staging
safe to remove after building (IIUC, just everything is put in/static
and served from there.Here are the image sizes after (r2d3) and before (r2d2)