blob: c51ee1f214a42d3a9e47bcb268f21cb0dde2a28f [file] [log] [blame]
Nicolas Nobleddef2462015-01-06 18:08:25 -08001# Dockerfile for the gRPC Java dev image
2FROM grpc/java_base
3
Nicolas Nobleddef2462015-01-06 18:08:25 -08004RUN cd /var/local/git/grpc-java/lib/okhttp && \
5 mvn -pl okhttp -am install
6RUN cd /var/local/git/grpc-java/lib/netty && \
7 mvn -pl codec-http2 -am -DskipTests install
8RUN cd /var/local/git/grpc-java && \
9 protoc --version>ver.txt && \
10 mvn install
11
12# Specify the default command such that the interop server runs on its known testing port
Tim Emiola7ae39502015-01-14 13:38:44 -080013CMD ["/var/local/git/grpc-java/run-test-server.sh", "--transport=HTTP2_NETTY_TLS", "--grpc_version=2", "--port=8030"]