ranger-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject ranger git commit: RANGER-2121: Ranger build using Docker is broken
Date Tue, 05 Jun 2018 11:31:49 GMT
Repository: ranger
Updated Branches:
  refs/heads/master 82ef3daa0 -> 6922c03f7


RANGER-2121: Ranger build using Docker is broken


Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/6922c03f
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/6922c03f
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/6922c03f

Branch: refs/heads/master
Commit: 6922c03f7085dfd37101536f6283d57fc063f581
Parents: 82ef3da
Author: Don Bosco Durai <bosco@apache.org>
Authored: Tue Jun 5 17:01:43 2018 +0530
Committer: Don Bosco Durai <bosco@apache.org>
Committed: Tue Jun 5 17:01:43 2018 +0530

----------------------------------------------------------------------
 build_ranger_using_docker.sh | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ranger/blob/6922c03f/build_ranger_using_docker.sh
----------------------------------------------------------------------
diff --git a/build_ranger_using_docker.sh b/build_ranger_using_docker.sh
index ff093a5..82b7179 100755
--- a/build_ranger_using_docker.sh
+++ b/build_ranger_using_docker.sh
@@ -75,14 +75,14 @@ ENV JAVA_HOME /usr/java/latest
 ENV  PATH $JAVA_HOME/bin:$PATH
 
 
-ADD https://www.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz.md5
/tools
-ADD http://mirror.stjschools.org/public/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
/tools
-RUN md5sum apache-maven-3.3.9-bin.tar.gz | cut -f 1 -d " " > tmp.md5
+ADD https://www.apache.org/dist/maven/maven-3/3.5.3/binaries/apache-maven-3.5.3-bin.tar.gz.sha1
/tools
+ADD http://www-us.apache.org/dist/maven/maven-3/3.5.3/binaries/apache-maven-3.5.3-bin.tar.gz
/tools
+RUN sha1sum  apache-maven-3.5.3-bin.tar.gz | cut -f 1 -d " " > tmp.sha1
 
-RUN diff -w tmp.md5 apache-maven-3.3.9-bin.tar.gz.md5
+RUN diff -w tmp.sha1 apache-maven-3.5.3-bin.tar.gz.sha1
 
-RUN tar xfz apache-maven-3.3.9-bin.tar.gz
-RUN ln -sf /tools/apache-maven-3.3.9 /tools/maven
+RUN tar xfz apache-maven-3.5.3-bin.tar.gz
+RUN ln -sf /tools/apache-maven-3.5.3 /tools/maven
 
 ENV  PATH /tools/maven/bin:$PATH
 ENV MAVEN_OPTS "-Xmx2048m -XX:MaxPermSize=512m"


Mime
View raw message