Add docker caches in more places

Bug: skia:
Change-Id: I15c78a1b8f5c4b90f9ca80e7827b66d1f5a7c797
Reviewed-on: https://skia-review.googlesource.com/c/180369
Auto-Submit: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Ben Wagner <benjaminwagner@google.com>
Commit-Queue: Ben Wagner <benjaminwagner@google.com>
diff --git a/infra/bots/gen_tasks.go b/infra/bots/gen_tasks.go
index 95d8589..50f8db2 100644
--- a/infra/bots/gen_tasks.go
+++ b/infra/bots/gen_tasks.go
@@ -795,8 +795,7 @@
 
 // usesDocker adds attributes to tasks which use docker.
 func usesDocker(t *specs.TaskSpec, name string) {
-	// currently, just the WASM (using EMCC) builder uses Docker.
-	if strings.Contains(name, "EMCC") {
+	if strings.Contains(name, "EMCC") || strings.Contains(name, "SKQP") || strings.Contains(name, "LottieWeb") {
 		t.Caches = append(t.Caches, CACHES_DOCKER...)
 	}
 }
diff --git a/infra/bots/tasks.json b/infra/bots/tasks.json
index 8aec630..1f085c2 100755
--- a/infra/bots/tasks.json
+++ b/infra/bots/tasks.json
@@ -6467,6 +6467,10 @@
         {
           "name": "work",
           "path": "cache/work"
+        },
+        {
+          "name": "docker",
+          "path": "cache/docker"
         }
       ],
       "cipd_packages": [