-
Notifications
You must be signed in to change notification settings - Fork 167
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
ACE container image is TOO LARGE! #203
Comments
Hi, In terms of the issue around layers, I would recommend putting multiple of your commands onto a single RUN command - this will enable you to perform a number of your commands in a single layer. This is a great blog all around developing effecting images - https://emmer.dev/blog/reducing-docker-layers. The size of the image is something we are looking at in the future. As you will see in this repo we have got some experimental work around reducing the image sizes in https://github.com/ot4i/ace-docker/tree/main/experimental/ace-minimal. Is there a size of image that you think is the max target. For this issue I would recommend raising an Idea Note this repo is not designed for support tickets for CP4I or ACE, it's purely for the samples provided in this repo. |
Thank you for the quick reply and suggestions. |
Platform: CP4I 2022.2.1 on Openshift 4.12
ACE: 12.0.11.2 LTS
@trevor-dolby-at-ibm-com
We are a customer based out of Europe and have been using ACE on Cloud Pak since 2019 on Openshift where we run 100's of ACE pods. Our main concern is the size of the ACE docker image. The image actually becomes much larger in our production as we use a docker file to install drivers, scripts and other stuff, and there seems to be a limit on the number of docker instructions (we hit upon an error), we think the docker layers have a limit in combination with the image size. I know there exists a feature of switching off stuff you dont need but that doesn't seem to make dramatic change to the image size.
Since IBM acquired web methods, I'd like to say for comparison, webmethods has a docker image size of 350MB.
I would like to know if there is some way of reducing the already large ACE image smaller (may be 100's of MB instead of 1GB+) while still being supported by IBM or if this may be in the future roadmap?
Please find a sample docker instructions we use in our build config attached, any suggestions to improve these docker instructions would also be great!
https://hub.docker.com/layers/softwareag/webmethods-microservicesruntime/10.15.0.1/images/sha256-a0eba62e2f580591aa18d6202f58087b2c6a01c25609846b285e2fb5dfd99828
The text was updated successfully, but these errors were encountered: