Skip to content

Commit 45c151f

Browse files
committed
Disable composePull only if it exists (#41306)
The task will not be created when docker is not available.
1 parent a4a4259 commit 45c151f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distribution/docker/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,4 @@ 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-
composePull.enabled = false
145+
tasks.matching { name == "composePull" }.all { enabled = false }

0 commit comments

Comments
 (0)