RMI-PACTA / docker

Docker images
https://2degreesinvesting.github.io/docker/
MIT License
1 stars 0 forks source link

investigate file size inflation of 0.0.11 #42

Open cjyetman opened 3 years ago

cjyetman commented 3 years ago

The file size of the 0.0.11 release of the PACTA docker was ~300mb larger than that of the 0.0.10 release. Some new data was added to the pacta-data repo, but not enough to obviously explain the increase.

Need to make sure our "shallow" clone is working as expected and optimally.

cjyetman commented 3 years ago

latest version has even more inflation... need to figure this out I know that both times there were changes to pacta_data, but not that much.... and, as I understood it, we're only cloning the current master of the repo, so it should not include previous copies of the same binary files, and therefore changes to pacta_data shouldn't have a substantial effect.

am I misunderstanding something @maurolepore ?

cjyetman commented 3 years ago
Screen Shot 2021-02-16 at 16 59 15
maurolepore commented 3 years ago

It would be interesting to see the size of the individual components inside the image to see if the extra size comes from the repos we add or the system.

cjyetman commented 3 years ago

It would be interesting to see the size of the individual components inside the image to see if the extra size comes from the repos we add or the system.

That's an interesting idea... though I'm not exactly sure how to achieve that with a whole bunch of run around downloading the images from Constructiva and loading and unloading them individually.