blob: 78659dedeb22cbc877dec1be1a04fac31d6d5819 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# Dockerfile for the gRPC Java dev image
FROM grpc/java_base
# Start the daemon that allows access to private git-on-borg repos
RUN /var/local/git/gcompute-tools/git-cookie-authdaemon
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", "--transport=HTTP2_NETTY_TLS", "--grpc_version=2", "--port=8030"]
|