Skip to content

[Enhancement]: Add Target field to FromDockerfile struct #1926

@danvergara

Description

@danvergara

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions