Closed lsf37 closed 7 months ago
It looks like l4v is also downloading another ghc installation in addition to what the camkes
image already provides. Ideally we should also eliminate that, but if this build succeeds it's already better than before and we should probably make that a separate PR.
Btw, the total image size of the l4v image is still about 16GB after this change (down from around 18GB). Probably worth looking into again in the future.
I have a vague memory that the latex packages took up a lot of room. Maybe an l4v-slim
image could be made for builds?
I have a vague memory that the latex packages took up a lot of room. Maybe an
l4v-slim
image could be made for builds?
It's possible that this is one of the major contributors, yes. Unfortunately, even some of the basic builds already do need latex (and with a lot of packages), so I don't think we can leave it out.
Two other major blocks of storage are the Isabelle heap images (the cache) and the Isabelle contrib files. I don't think there is much we can do about the heap images, but we could look into removing binaries for other architectures from the contrib install.
The l4v image has gotten too large to even just pull from within a GitHub action (about 3GB).
This PR removes some old obsolete settings and reduces the images size: