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

RUN git clone --recursive --depth 1 git@github.com:google/grpc-java.git /var/local/git/grpc-java
RUN cd /var/local/git/grpc-java/lib/netty && \
  mvn -pl codec-http2 -am -DskipTests install clean
RUN cd /var/local/git/grpc-java && \
  ./gradlew build

# 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"]