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:
Eric Anderson 2023-02-02 16:08:23 -08:00
parent 6119f6ec94
commit 43917f052e
1 changed files with 1 additions and 1 deletions

View File

@ -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