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 | 3ff195d | 2015-01-26 10:29:46 -0800 | [diff] [blame] | 13 | CMD ["/var/local/git/grpc-java/run-test-server.sh", "--use_tls=true", "--port=8030"] |