From db10cadc06180d30c4738f0096679b83dc005819 Mon Sep 17 00:00:00 2001 From: Fabio Kung Date: Wed, 25 Jul 2018 10:06:58 -0700 Subject: [PATCH] do not start a gradle daemon during docker builds (#321) --- titus-ext/runner/Dockerfile.gateway | 1 + titus-ext/runner/Dockerfile.master | 1 + 2 files changed, 2 insertions(+) diff --git a/titus-ext/runner/Dockerfile.gateway b/titus-ext/runner/Dockerfile.gateway index 2fb1f19105..52cf14300a 100644 --- a/titus-ext/runner/Dockerfile.gateway +++ b/titus-ext/runner/Dockerfile.gateway @@ -1,4 +1,5 @@ FROM openjdk:8 as builder +ENV GRADLE_OPTS="-Dorg.gradle.daemon=false" ## install gradle COPY gradlew gradle.properties /usr/src/titus-control-plane/ COPY gradle /usr/src/titus-control-plane/gradle/ diff --git a/titus-ext/runner/Dockerfile.master b/titus-ext/runner/Dockerfile.master index 2e5b8c7d2f..b512b52b9d 100644 --- a/titus-ext/runner/Dockerfile.master +++ b/titus-ext/runner/Dockerfile.master @@ -1,4 +1,5 @@ FROM openjdk:8 as builder +ENV GRADLE_OPTS="-Dorg.gradle.daemon=false" ## install gradle COPY gradlew gradle.properties /usr/src/titus-control-plane/ COPY gradle /usr/src/titus-control-plane/gradle/