diff --git a/distribution/docker/build.gradle b/distribution/docker/build.gradle
index 07e8926b2a3..71fc62673dc 100644
--- a/distribution/docker/build.gradle
+++ b/distribution/docker/build.gradle
@@ -138,3 +138,8 @@ for (final boolean oss : [false, true]) {
 
 assemble.dependsOn "buildOssDockerImage"
 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
+composePull.enabled = false