Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

fix: build cloak provider image with --load so compose can find it locally

Luigi Agostia6829b346bb0
diff --git a/tests/tools/runner/internal/e2e/provider.go b/tests/tools/runner/internal/e2e/provider.go
index 0f19cf2a..e6d7a224 100644
--- a/tests/tools/runner/internal/e2e/provider.go
+++ b/tests/tools/runner/internal/e2e/provider.go
@@ -204,7 +204,7 @@ func (r *Runner) ensureCloakImage(image string) error {
code := r.runLoggedCommand(
"building Cloak provider image",
stackOutput,
- []string{"docker", "build", "-f", dockerfilePath, "-t", image, r.repoRoot},
+ []string{"docker", "build", "--load", "-f", dockerfilePath, "-t", image, r.repoRoot},
)
if code != 0 {
return fmt.Errorf("build Cloak provider image failed (exit %d)", code)
diff --git a/tests/tools/runner/internal/e2e/provider_test.go b/tests/tools/runner/internal/e2e/provider_test.go
index 6fecca3c..646d7798 100644
--- a/tests/tools/runner/internal/e2e/provider_test.go
+++ b/tests/tools/runner/internal/e2e/provider_test.go
@@ -122,7 +122,7 @@ func TestEnsureCloakImageBuildsByDefault(t *testing.T) {
}
calls := string(raw)
for _, want := range []string{
- "build -f " + dockerfilePath + " -t " + defaultCloakImage + " " + repoRoot,
+ "build --load -f " + dockerfilePath + " -t " + defaultCloakImage + " " + repoRoot,
} {
if !strings.Contains(calls, want) {
t.Fatalf("docker calls missing %q:\n%s", want, calls)