testcontainers/testcontainers-rs-modules-community

Allow use of tags when starting a container

Closed this issue · 1 comments

MDH0 commented

Feature request description

Right now, when creating a testcontainer from a module, a static constant is selecting which version of a container is being pulled. If unmaintained, this leads to old versions of those modules being used (in my case surrealdb version 1.1.1, while actually deploying the latest container). Another advantage would be, that users could test on the specific versions they are using in production.
A workaround would be, to use the generic container from the base testcontainer image.

It would be beneficial, if you could somehow insert a tag when initializing a container.

Image reference

No response

MDH0 commented

Ok, fell into the same trap as #83.