mirror of https://github.com/grpc/grpc-java.git
Use Apache CDN to download Maven
Maven seems to have improved their download management and instead of having their webpage choose a host they now have a CDN domain. apache.cs.utah.edu is slow and is failing to finish the downloading.
This commit is contained in:
parent
6119f6ec94
commit
43917f052e
|
|
@ -20,6 +20,6 @@ RUN yum install -y \
|
|||
yum clean all
|
||||
|
||||
# Install Maven
|
||||
RUN curl -Ls http://apache.cs.utah.edu/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz | \
|
||||
RUN curl -Ls http://dlcdn.apache.org/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz | \
|
||||
tar xz -C /var/local
|
||||
ENV PATH /var/local/apache-maven-3.3.9/bin:$PATH
|
||||
|
|
|
|||
Loading…
Reference in New Issue