The ODM repo, although the source code is only a few dozen MB, weighs an astonishing 1.05GB.
I propose at the next release we run a tool such as https://rtyley.github.io/bfg-repo-cleaner/ to remove whatever blobs of binary data might be taking so much space.
This has the downside that people will have to make a fresh clone of the repository.
go for it! re-cloning is pretty easy - would that also fix the huge blob which docker pulls download? seems about the same size…
Yes, I think so. Also: ODM is going to the next major release, so this seems to be the moment…
The docker pulls will still be large; we just have lots of dependencies and it’s really tricky to optimize this kind of stuff.
We don’t include the git repo in the docker images.
But this is still something we should do.
That’s right. That got fixed a while back. The docker images are a bit optimized already relative to the repo.