Skip to content

Commit 6a696f4

Browse files
committed
Dix the packer cache script
1 parent a730b44 commit 6a696f4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

distribution/docker/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,6 @@ assemble.dependsOn "buildDockerImage"
142142
// We build the images used in compose locally, but the pull command insists on using a repository
143143
// thus we must disable it to prevent it from doing so.
144144
// Everything will still be pulled since we will build the local images on a pull
145-
tasks.matching { name == "composePull" }.all { enabled = false }
145+
if (tasks.findByName("composePull")) {
146+
tasks.composePull.enabled = false
147+
}

0 commit comments

Comments
 (0)