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
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.Dockerfilewith intermediate layer (regression works with3.3.0) #972Solution
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