I need to run the Firestore Emulator as a service container/composition for integration tests.
This is available as part of the official
google/cloud-sdk SDK image, if you start it with the right command that is.
I can’t find how to override the default entrypoint in a service container.
entry_point doesn’t work.
readiness can’t be repurposed for this use case.
Ideally I’d like to avoid building a custom image for this !
Is it possible ?
PS: I find the distinction between service container / composition in the CF docs rather unclear. Several pages still refer to “compositions”, but because the syntax for “service containers” actually includes a “composition” key, it’s not clear if the docs are out of date (I think so, they mention “candidates”) or if they really mean “service containers” where it says compositions ! This is confusing and could be improved IMHO.