Nicolas Noble | ddef246 | 2015-01-06 18:08:25 -0800 | [diff] [blame] | 1 | # Dockerfile for the gRPC Java dev image |
| 2 | FROM grpc/java_base |
| 3 | |
Eric Anderson | c180e9f | 2015-01-29 10:42:51 -0800 | [diff] [blame^] | 4 | RUN git clone --recursive --depth 1 git@github.com:google/grpc-java.git /var/local/git/grpc-java |
| 5 | RUN cd /var/local/git/grpc-java/lib/netty && \ |
| 6 | mvn -pl codec-http2 -am -DskipTests install clean |
Nicolas Noble | ddef246 | 2015-01-06 18:08:25 -0800 | [diff] [blame] | 7 | RUN cd /var/local/git/grpc-java && \ |
Eric Anderson | c180e9f | 2015-01-29 10:42:51 -0800 | [diff] [blame^] | 8 | ./gradlew build |
Nicolas Noble | ddef246 | 2015-01-06 18:08:25 -0800 | [diff] [blame] | 9 | |
| 10 | # Specify the default command such that the interop server runs on its known testing port |
Tim Emiola | 3ff195d | 2015-01-26 10:29:46 -0800 | [diff] [blame] | 11 | CMD ["/var/local/git/grpc-java/run-test-server.sh", "--use_tls=true", "--port=8030"] |