testcontainers-dotnet
testcontainers-dotnet copied to clipboard
[Bug]: Support passing build secrets when building docker images
Testcontainers version
latest
Using the latest Testcontainers version?
Yes
Host OS
Windows
Host arch
x64
.NET version
8
Docker version
latest
Docker info
latest
What happened?
I am not able to pass a docker secret to the ImageFromDockerfileBuilder
Relevant log output
Additional information
No response
I doubt we can support this. I am not aware of this feature being exposed through the Docker Engine API. I believe this is a BuildKit feature, which we are unable to support due to technical limitations: https://github.com/testcontainers/testcontainers-dotnet/discussions/1193#discussioncomment-10315903.
In that case - this can be closed.