Browse Source

Dix the packer cache script

Alpar Torok 6 years ago
parent
commit
6a696f4638
1 changed files with 3 additions and 1 deletions
  1. 3 1
      distribution/docker/build.gradle

+ 3 - 1
distribution/docker/build.gradle

@@ -142,4 +142,6 @@ assemble.dependsOn "buildDockerImage"
 // We build the images used in compose locally, but the pull command insists on using a repository
 // thus we must disable it to prevent it from doing so. 
 // Everything will still be pulled since we will build the local images on a pull
-tasks.matching { name == "composePull" }.all { enabled = false }
+if (tasks.findByName("composePull")) {
+    tasks.composePull.enabled = false 
+}