Skip to content

Commit

Permalink
FAB-5739 Update maven curl command
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
rameshthoomu committed Aug 11, 2017
1 parent 4388f48 commit d220c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/javaenv/Dockerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d220c86

Please sign in to comment.