blob: f7156c7f3825d9bada4dc5248cb5bc6b7dbef8fb [file] [log] [blame]
Nicolas Nobleddef2462015-01-06 18:08:25 -08001# Dockerfile for the gRPC Java dev image
2FROM grpc/java_base
3
4# Start the daemon that allows access to private git-on-borg repos
5RUN /var/local/git/gcompute-tools/git-cookie-authdaemon
6
7RUN cd /var/local/git/grpc-java/lib/okhttp && \
8 mvn -pl okhttp -am install
9RUN cd /var/local/git/grpc-java/lib/netty && \
10 mvn -pl codec-http2 -am -DskipTests install
11RUN 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
16CMD ["/var/local/git/grpc-java/run-test-server.sh", "--transport=NETTY_TLS", "--grpc_version=2", "--port=8030"]