Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Support passing build secrets when building docker images #1406

Open
bjuraga opened this issue Mar 24, 2025 · 2 comments
Open

[Bug]: Support passing build secrets when building docker images #1406

bjuraga opened this issue Mar 24, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@bjuraga
Copy link

bjuraga commented Mar 24, 2025

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

@bjuraga bjuraga added the bug Something isn't working label Mar 24, 2025
@HofmeisterAn
Copy link
Collaborator

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: #1193 (reply in thread).

@HofmeisterAn HofmeisterAn added enhancement New feature or request and removed bug Something isn't working labels Mar 24, 2025
@bjuraga
Copy link
Author

bjuraga commented Mar 25, 2025

In that case - this can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants