Proposal
I've been trying to add testcontainers to my employer's CI, so my teammates can run integration tests. At some point, I needed to build a container image based off an existing Dockerfile, but the problem is that I need to specify a target stage to run the container in a test mode, where test dependencies are included.
I found out that buildOptions is omitting the Target field, which is present in the ImageBuildOptions struct. Is there a reason to not expose this field?
Proposal
I've been trying to add
testcontainersto my employer's CI, so my teammates can run integration tests. At some point, I needed to build a container image based off an existingDockerfile, but the problem is that I need to specify a target stage to run the container in a test mode, where test dependencies are included.I found out that buildOptions is omitting the
Targetfield, which is present in the ImageBuildOptions struct. Is there a reason to not expose this field?