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 | |
| 4 | # Start the daemon that allows access to private git-on-borg repos |
| 5 | RUN /var/local/git/gcompute-tools/git-cookie-authdaemon |
| 6 | |
| 7 | RUN cd /var/local/git/grpc-java/lib/okhttp && \ |
| 8 | mvn -pl okhttp -am install |
| 9 | RUN cd /var/local/git/grpc-java/lib/netty && \ |
| 10 | mvn -pl codec-http2 -am -DskipTests install |
| 11 | RUN cd /var/local/git/grpc-java && \ |
| 12 | protoc --version>ver.txt && \ |
| 13 | mvn install |
| 14 | |
| 15 | # Specify the default command such that the interop server runs on its known testing port |
| 16 | CMD ["/var/local/git/grpc-java/run-test-server.sh", "--transport=NETTY_TLS", "--grpc_version=2", "--port=8030"] |