Official Elastic Cache images seem to be causing problems. Customers created their own custom images, e.g. based on https://github.com/carwow/docker-elasticsearch-ci to get to a green build.
The code there seems reasonable and general purpose. Adopt it as a convenience image (but without the `elasticsearch-plugin install analysis-kuromoji` line).
Also, check if there are other optimizations we can do, e.g. disable journaling, disaster recovery code - and configure JVM with memory settings and the like.