aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Nathan Mittler <nathanmittler@google.com>2015-05-07 10:51:20 -0700
committerGravatar Nathan Mittler <nathanmittler@google.com>2015-05-07 10:51:20 -0700
commit2ec12dededecd8206dee74d22101b731a2e65b6c (patch)
tree18424c3c2a2182f2415b07770e86d3fd57953bb8
parent83606799a43eb138bbd20d082ecde6a149bcc4ae (diff)
parentaa518cc3bfd5305aaa6448e6dfcf2cfe7d11a51b (diff)
Merge pull request #1510 from ejona86/installDist
Add 'installDist' task to grpc-java Docker build
-rw-r--r--tools/dockerfile/grpc_java/Dockerfile2
-rwxr-xr-xtools/dockerfile/grpc_java/build.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/dockerfile/grpc_java/Dockerfile b/tools/dockerfile/grpc_java/Dockerfile
index 6b2612b9b2..fa67cb2627 100644
--- a/tools/dockerfile/grpc_java/Dockerfile
+++ b/tools/dockerfile/grpc_java/Dockerfile
@@ -34,7 +34,7 @@ RUN git clone --recursive --depth 1 https://github.com/grpc/grpc-java.git /var/l
RUN cd /var/local/git/grpc-java/lib/netty && \
mvn -pl codec-http2 -am -DskipTests install clean
RUN cd /var/local/git/grpc-java && \
- ./gradlew build
+ ./gradlew build installDist
# Specify the default command such that the interop server runs on its known testing port
CMD ["/var/local/git/grpc-java/run-test-server.sh", "--use_tls=true", "--port=8030"]
diff --git a/tools/dockerfile/grpc_java/build.sh b/tools/dockerfile/grpc_java/build.sh
index 04212ceec2..ce35018533 100755
--- a/tools/dockerfile/grpc_java/build.sh
+++ b/tools/dockerfile/grpc_java/build.sh
@@ -4,6 +4,6 @@ cp -R /var/local/git-clone /var/local/git
cd /var/local/git/grpc-java/lib/netty && \
mvn -pl codec-http2 -am -DskipTests install clean
cd /var/local/git/grpc-java && \
- ./gradlew build
+ ./gradlew build installDist
echo 'build finished'