Nicolas Noble | ddef246 | 2015-01-06 18:08:25 -0800 | [diff] [blame] | 1 | # Dockerfile for the gRPC Java dev image |
| 2 | FROM grpc/java_base |
| 3 | |
Nicolas Noble | ddef246 | 2015-01-06 18:08:25 -0800 | [diff] [blame] | 4 | RUN cd /var/local/git/grpc-java/lib/okhttp && \ |
| 5 | mvn -pl okhttp -am install |
| 6 | RUN cd /var/local/git/grpc-java/lib/netty && \ |
| 7 | mvn -pl codec-http2 -am -DskipTests install |
| 8 | RUN 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 Emiola | 7ae3950 | 2015-01-14 13:38:44 -0800 | [diff] [blame] | 13 | CMD ["/var/local/git/grpc-java/run-test-server.sh", "--transport=HTTP2_NETTY_TLS", "--grpc_version=2", "--port=8030"] |