Current build of grpc_java_base (and grpc_java) will hit the following error
Step 12 : RUN git clone --recursive --depth 1 https://github.com/grpc/grpc-java.git && cd grpc-java/lib/netty && mvn -pl codec-http2 -am -DskipTests verify && cd ../.. && ./gradlew && rm -r "$(pwd)"
---> Running in 70736ecbce5e
Cloning into 'grpc-java'...
/bin/sh: 1: cd: can't cd to grpc-java/lib/netty
INFO[1186] The command [/bin/sh -c git clone --recursive --depth 1 https://github.com/grpc/grpc-java.git && cd grpc-java/lib/netty && mvn -pl codec-http2 -am -DskipTests verify && cd ../.. && ./gradlew && rm -r "$(pwd)"] returned a non-zero code: 2
The reason is the grpc-java/lib folder has been removed in grpc/grpc-java@652abe2f63fa6a797221cea48000ec3e662fa1e0 and instead of relying upon maven in grpc/grpc-java@5df6ab00da65e4c6148e4164d9db1a12e28e5175
Hence, there is no need to perform manual maven build locally for netty-codec-http2
Current build of
grpc_java_base
(andgrpc_java
) will hit the following errorThe reason is the
grpc-java/lib
folder has been removed in grpc/grpc-java@652abe2f63fa6a797221cea48000ec3e662fa1e0 and instead of relying upon maven in grpc/grpc-java@5df6ab00da65e4c6148e4164d9db1a12e28e5175Hence, there is no need to perform manual maven build locally for
netty-codec-http2
Identified two Dockerfile involved.