|
|
@ -34,11 +34,12 @@ RUN wget -O - https://github.com/google/protobuf/archive/master.tar.gz | \ |
|
|
|
# Install a GitHub SSH service credential that gives access to the GitHub repo while it's private |
|
|
|
# Install a GitHub SSH service credential that gives access to the GitHub repo while it's private |
|
|
|
# TODO: remove this once the repo is public |
|
|
|
# TODO: remove this once the repo is public |
|
|
|
COPY .ssh/github.rsa /root/.ssh/id_rsa |
|
|
|
COPY .ssh/github.rsa /root/.ssh/id_rsa |
|
|
|
|
|
|
|
RUN chmod 600 /root/.ssh/id_rsa |
|
|
|
RUN echo 'Host github.com\nStrictHostKeyChecking no' > /root/.ssh/config |
|
|
|
RUN echo 'Host github.com\nStrictHostKeyChecking no' > /root/.ssh/config |
|
|
|
|
|
|
|
|
|
|
|
# Trigger download of as many Maven and Gradle artifacts as possible. We don't build grpc-java |
|
|
|
# Trigger download of as many Maven and Gradle artifacts as possible. We don't build grpc-java |
|
|
|
# because we don't want to install netty |
|
|
|
# because we don't want to install netty |
|
|
|
RUN git clone --recursive --depth 1 git@github.com:google/grpc-java.git && \ |
|
|
|
RUN git clone --recursive --depth 1 git@github.com:grpc/grpc-java.git && \ |
|
|
|
cd grpc-java/lib/netty && \ |
|
|
|
cd grpc-java/lib/netty && \ |
|
|
|
mvn -pl codec-http2 -am -DskipTests verify && \ |
|
|
|
mvn -pl codec-http2 -am -DskipTests verify && \ |
|
|
|
cd ../.. && \ |
|
|
|
cd ../.. && \ |
|
|
|