Skip to content
Snippets Groups Projects
Commit aa518cc3 authored by Eric Anderson's avatar Eric Anderson
Browse files

Add 'installDist' task to grpc-java Docker build

This will allow us to not run Gradle every time we run an integration
test.
parent fde356c9
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.
Please to comment