-
Notifications
You must be signed in to change notification settings - Fork 14
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
Reduce Image sizes #42
Comments
with #43 the Oracle image is now down to 400MB
|
Maybe giving slim a shot could be worth. REPOSITORY TAG IMAGE ID CREATED SIZE
debian-12.slim latest 6e9b12ae9d90 11 minutes ago 46.8MB
debian-12 latest 42ad1dc660ef 21 minutes ago 974MB I've not verified the full functionality of the "slimmed" image just yet, but I'd be eager to try it out in the next couple of days. There is also some documentation for a Github Actions Integration. What do you think? |
The tool looks very promising. From the documentation I understand that we need to give it some commands to asses what contents of the containers are actually needed. This might be a problem, since we are using the containers to test all our Automation code and thus we would need to run ALL automation code to generate the Images, or am I wrong? |
I have not looked to deep into it just yet, but I was actually just hoping that it would work "out-of-the-box". The xray command could also be very helpful in reverse engineering what's going to get removed. I will give it a shot and test it out properly with one image in the next couple of days, also referencing the newly build in one of the automation jobs to see if this would work without major effort. |
We are using these images for CI testing. These tests run very often, so having small images pays in time and also in ressource conservation. We should aim to create images of minimal size.
For refference these are the current sizes:
The text was updated successfully, but these errors were encountered: