matrei commented on PR #16027: URL: https://github.com/apache/grails-core/pull/16027#issuecomment-5521970603
I compared the `slim` and `slim-faststart` Oracle images locally: | Image | Downloaded | Pull time | Startup time | Total | |---|---:|---:|---:|---:| | `gvenzl/oracle-free:slim` | 808 MB | 72 s | 19.3 s | **91.3 s** | | `gvenzl/oracle-free:slim-faststart` | 1 GB | 115.2 s | 19.9 s | **135.1 s** | The `faststart` variant provided no measurable startup improvement in this setup, while its larger image added approximately 43 seconds to the pull. Overall, `slim` was about **44 seconds faster**. Based on these results, `gvenzl/oracle-free:slim` appears to be the better choice for our CI workflow. As I understand it (please correct me if I'm wrong) GitHub-hosted runners use a fresh VM for every job, so Docker images are only cached within the current job. The Testcontainers message saying that the image “only needs to be done once” means once per Docker daemon. The image will therefore be downloaded again for every matrix job and subsequent workflow run. Given this adds over two minutes to our build, for each workflow that runs the one test that uses this docker image, I'm hesitant to add it to the CI driven test suite. I could still be present but with a guard, to be able to run it locally. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
