root-project / root-docker

Docker recipes for ROOT
30 stars 33 forks source link

Try to slim down the ubuntu image size #13

Closed kgizdov closed 3 years ago

kgizdov commented 4 years ago

This sheds about 300MB from the docker image without dropping any dependencies.

kgizdov commented 4 years ago

I am open to further suggestions on how to make it build faster and produce a smaller image.

kgizdov commented 4 years ago

alright, let me see what works best and will update PR

amadio commented 4 years ago

Ok, thanks a lot!

kgizdov commented 4 years ago

oops, sorry, I forgot. I will have a look today and will message if any progress.

amadio commented 4 years ago

Let me know which options you think make sense to have enabled/disabled in the ROOT build. I will create a package based on that and the image based on the package. But if I enable everything supported in Ubuntu, then the image will be large...

amadio commented 3 years ago

@kgivdov, this repo will be maintained by @eguiraud in the future, and the ubuntu image will now be based on the released binaries of ROOT. I guess this PR can be closed. Please start another one for the new image if you think that that's still too fat. The list of packages will likely need to be adjusted to match which options are enabled in the release binaries, so you are welcome to try to slim that image down as well, it will just be a slightly different process than for the image as it was before. Cheers,

kgizdov commented 3 years ago

Sure. Sorry, I didn't have time to finish it properly.