From d220c86598b49713257ffaa7a0ec81ade21ab3c0 Mon Sep 17 00:00:00 2001 From: rameshthoomu Date: Fri, 11 Aug 2017 16:23:57 -0400 Subject: [PATCH] FAB-5739 Update maven curl command observed curl command is failing to download maven tar.gz files from mirror repository. Update maven curl command to download tar.gz file for faster download Change-Id: I7237f616c7d4a663d10403562b9967a488639db2 Signed-off-by: rameshthoomu --- images/javaenv/Dockerfile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/javaenv/Dockerfile.in b/images/javaenv/Dockerfile.in index e45d8f7756c..0f6dd3c2243 100644 --- a/images/javaenv/Dockerfile.in +++ b/images/javaenv/Dockerfile.in @@ -9,7 +9,7 @@ RUN ln -s /opt/gradle-2.12/bin/gradle /usr/bin ENV MAVEN_VERSION=3.3.9 ENV USER_HOME_DIR="/root" RUN mkdir -p /usr/share/maven /usr/share/maven/ref \ - && curl -fsSL http://apache.osuosl.org/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz \ + && curl -fsSL http://www-us.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz \ | tar -xzC /usr/share/maven --strip-components=1 \ && ln -s /usr/share/maven/bin/mvn /usr/bin/mvn ENV MAVEN_HOME /usr/share/maven