Skip to content

Commit d220c86

Browse files
committed
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 <rameshbabu.thoomu@gmail.com>
1 parent 4388f48 commit d220c86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

images/javaenv/Dockerfile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ RUN ln -s /opt/gradle-2.12/bin/gradle /usr/bin
99
ENV MAVEN_VERSION=3.3.9
1010
ENV USER_HOME_DIR="/root"
1111
RUN mkdir -p /usr/share/maven /usr/share/maven/ref \
12-
&& curl -fsSL http://apache.osuosl.org/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz \
12+
&& curl -fsSL http://www-us.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz \
1313
| tar -xzC /usr/share/maven --strip-components=1 \
1414
&& ln -s /usr/share/maven/bin/mvn /usr/bin/mvn
1515
ENV MAVEN_HOME /usr/share/maven

0 commit comments

Comments
 (0)