aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile/grpc_java/Dockerfile
blob: f234f514e6f76d5fa0791b6c6f23d96a0eff7e86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Dockerfile for the gRPC Java dev image
FROM grpc/java_base

RUN  cd /var/local/git/grpc-java/lib/okhttp && \
  mvn -pl okhttp -am install
RUN  cd /var/local/git/grpc-java/lib/netty && \
  mvn -pl codec-http2 -am -DskipTests install
RUN cd /var/local/git/grpc-java && \
  protoc --version>ver.txt && \
  mvn install

# Specify the default command such that the interop server runs on its known testing port
CMD ["/var/local/git/grpc-java/run-test-server.sh", "--use_tls=true", "--port=8030"]