-
-
Notifications
You must be signed in to change notification settings - Fork 18
Optimize the size of the images #3
Comments
You are right. I will have a look at Unikernel, which might help us to strip down the OS. @vbraun How do you create the VM image, do you have some script we could look at? I am not sure what blows up the image that much. From my point of view we are doing everything right. But maybe Sage can somehow strip down its installation by removing unneeded files? Also, VirtualBox seems to be able to compress its images. In fact, Docker compresses for upload and download, too, but the images seem to be stored uncompressed, I think maybe for speed. |
The VM build script is here: https://bitbucket.org/vbraun/sage-virtual-appliance-buildscript Further possibilities:
|
@vbraun I'll see about applying that script to the docker images and see if that helps reduce their size. |
@vbraun It seems to me that running You also wrote "strip binaries"--what do you mean in this case? |
The Also, when building the images we |
|
Ah okay, that's what I thought you meant just wanted to be sure. For the -develop images we'll want to leave symbols intact for debugging, but for the release images we can do that. I agree the deletion of unused build artifacts should be improved upstream. In fact I would like to the entire |
In theory we should be able to make them smaller than that the current virtual machines (2Gb, which is already huge).
The text was updated successfully, but these errors were encountered: