diff --git a/distribution/docker/build.gradle b/distribution/docker/build.gradle index 2f7de90c5c929..fe4a1e8b48a79 100644 --- a/distribution/docker/build.gradle +++ b/distribution/docker/build.gradle @@ -270,7 +270,7 @@ void addBuildDockerContextTask(Architecture architecture, DockerBase base) { // infer that we're not at the Docker building stage of the build, and therefore // we should skip the beats part of the build. String buildId = providers.systemProperty('build.id').forUseAtConfigurationTime().getOrNull() - boolean includeBeats = VersionProperties.isElasticsearchSnapshot() == true || buildId != null + boolean includeBeats = VersionProperties.isElasticsearchSnapshot() == true || buildId != null || useDra if (includeBeats) { from configurations.filebeat