Merge pull request #1510 from ejona86/installDist

Add 'installDist' task to grpc-java Docker build
pull/1515/head
Nathan Mittler 10 years ago
commit 2ec12deded
  1. 2
      tools/dockerfile/grpc_java/Dockerfile
  2. 2
      tools/dockerfile/grpc_java/build.sh

@ -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 && \ RUN cd /var/local/git/grpc-java/lib/netty && \
mvn -pl codec-http2 -am -DskipTests install clean mvn -pl codec-http2 -am -DskipTests install clean
RUN cd /var/local/git/grpc-java && \ 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 # 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"] CMD ["/var/local/git/grpc-java/run-test-server.sh", "--use_tls=true", "--port=8030"]

@ -4,6 +4,6 @@ cp -R /var/local/git-clone /var/local/git
cd /var/local/git/grpc-java/lib/netty && \ cd /var/local/git/grpc-java/lib/netty && \
mvn -pl codec-http2 -am -DskipTests install clean mvn -pl codec-http2 -am -DskipTests install clean
cd /var/local/git/grpc-java && \ cd /var/local/git/grpc-java && \
./gradlew build ./gradlew build installDist
echo 'build finished' echo 'build finished'

Loading…
Cancel
Save