aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Eric Anderson <ejona@google.com>2016-01-28 12:11:05 -0800
committerGravatar Eric Anderson <ejona@google.com>2016-01-28 12:16:01 -0800
commitb1b331a59ef33d7fb1f08812e963103e4bc9e7b4 (patch)
treee5bca65fff6b1ad946b9c87c6608b81f6d6be974 /tools
parentddd91dbb42f6f52655738c6520548d04ea5f8468 (diff)
Don't bother with full build in java docker
The command in the docker image is just to prepare a cache to reduce download for later builds. We only run installDist in build_interop.sh, so don't bother with full build. Fixes grpc/grpc-java#1370
Diffstat (limited to 'tools')
-rw-r--r--tools/dockerfile/grpc_interop_java/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dockerfile/grpc_interop_java/Dockerfile b/tools/dockerfile/grpc_interop_java/Dockerfile
index 5ba5324631..8bfb796c24 100644
--- a/tools/dockerfile/grpc_interop_java/Dockerfile
+++ b/tools/dockerfile/grpc_interop_java/Dockerfile
@@ -51,7 +51,7 @@ ENV PATH $PATH:$JAVA_HOME/bin
# Trigger download of as many Gradle artifacts as possible.
RUN git clone --recursive --depth 1 https://github.com/grpc/grpc-java.git && \
cd grpc-java && \
- ./gradlew build -PskipCodegen=true && \
+ ./gradlew :grpc-interop-testing:installDist -PskipCodegen=true && \
rm -r "$(pwd)"
# Define the default command.