Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize image sizes for root deployment #3

Open
dotsdl opened this issue Nov 21, 2024 · 2 comments
Open

Optimize image sizes for root deployment #3

dotsdl opened this issue Nov 21, 2024 · 2 comments

Comments

@dotsdl
Copy link
Member

dotsdl commented Nov 21, 2024

The image sizes for each of our root Docker builds come in at over 5 GB each, which is a bit surprising especially for the server image which doesn't require cudatoolkit (we use jaimergp/label/unsupported-cudatoolkit-shim to avoid pulling it in, but perhaps this no longer works).

If possible, we would very much like to shrink this down, at the very least to half this size, but I imagine it's possible to go lower.

@dotsdl
Copy link
Member Author

dotsdl commented Nov 21, 2024

@mikemhenry any thoughts on what might be ballooning our image sizes here?

@dotsdl
Copy link
Member Author

dotsdl commented Nov 25, 2024

For reference, doing a docker pull mambaorg/micromamba:1.5.10 to pull down our base image gives an image that's only 89.0MB in size. Our biggest image layer is 2.11GB when doing e.g. docker pull ghcr.io/openfreeenergy/alchemiscale.org-root-fah-compute:2024.11.21-0. Decompressed the overall image is then 5.23GB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant