Skip to content

[Enhancement]: Resolve variables (ARGs) during Docker image build #980

@HofmeisterAn

Description

@HofmeisterAn

Problem

Testcontainers for .NET cannot resolve variables (ARGs) during the Docker image build process. Currently, Testcontainers does not pull base images in advance that utilize variables. Hence, if the images are not already present on the host, they will not be pulled, causing the Docker image build process to fail.

Solution

To pull base images that utilize variables in advance too, Testcontainers needs to have the capability to resolve the default values and build arguments of variables.

Benefit

Developers will not be required to manually pull the images beforehand, enabling a more streamlined Docker image building and testing configuration.

Alternatives

Pull images manually beforehand.

Would you like to help contributing this enhancement?

Yes

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