Skip to content
Snippets Groups Projects
Commit 2ec12ded authored by Nathan Mittler's avatar Nathan Mittler
Browse files

Merge pull request #1510 from ejona86/installDist

Add 'installDist' task to grpc-java Docker build
parents 83606799 aa518cc3
No related branches found
No related tags found
No related merge requests found
...@@ -34,7 +34,7 @@ RUN git clone --recursive --depth 1 https://github.com/grpc/grpc-java.git /var/l ...@@ -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 ...@@ -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'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment