blob: f234f514e6f76d5fa0791b6c6f23d96a0eff7e86 [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 Emiola3ff195d2015-01-26 10:29:46 -080013CMD ["/var/local/git/grpc-java/run-test-server.sh", "--use_tls=true", "--port=8030"]