blob: a5508cad7fc7c695182a597396b38f8a4d064f14 [file] [log] [blame]
Nicolas Nobleddef2462015-01-06 18:08:25 -08001# Dockerfile for the gRPC Java dev image
2FROM grpc/java_base
3
Eric Andersonc180e9f2015-01-29 10:42:51 -08004RUN git clone --recursive --depth 1 git@github.com:google/grpc-java.git /var/local/git/grpc-java
5RUN cd /var/local/git/grpc-java/lib/netty && \
6 mvn -pl codec-http2 -am -DskipTests install clean
Nicolas Nobleddef2462015-01-06 18:08:25 -08007RUN cd /var/local/git/grpc-java && \
Eric Andersonc180e9f2015-01-29 10:42:51 -08008 ./gradlew build
Nicolas Nobleddef2462015-01-06 18:08:25 -08009
10# Specify the default command such that the interop server runs on its known testing port
Tim Emiola3ff195d2015-01-26 10:29:46 -080011CMD ["/var/local/git/grpc-java/run-test-server.sh", "--use_tls=true", "--port=8030"]