Skip to content

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

chore(docker): cache-mount the go build step in the chrome-cft smoke image too (PIN-379)

Luigi Agosti7240bcddf16b
diff --git a/tests/tools/docker/chrome-cft-smoke.Dockerfile b/tests/tools/docker/chrome-cft-smoke.Dockerfile
index c274be89..29e94884 100644
--- a/tests/tools/docker/chrome-cft-smoke.Dockerfile
+++ b/tests/tools/docker/chrome-cft-smoke.Dockerfile
@@ -6,7 +6,7 @@ COPY go.mod go.sum ./
RUN go mod download
COPY . .
-RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /out/pinchtab ./cmd/pinchtab
+RUN --mount=type=cache,target=/root/.cache/go-build CGO_ENABLED=0 go build -ldflags="-s -w" -o /out/pinchtab ./cmd/pinchtab
FROM ubuntu:22.04