HDDS-1633. Update rat from 0.12 to 0.13 in hadoop-runner build script (#891)
This commit is contained in:
parent
22597d33ac
commit
cef996659f
4
build.sh
4
build.sh
|
@ -18,10 +18,10 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|||
set -e
|
||||
mkdir -p build
|
||||
if [ ! -d "$DIR/build/apache-rat-0.12" ]; then
|
||||
wget http://xenia.sote.hu/ftp/mirrors/www.apache.org/creadur/apache-rat-0.12/apache-rat-0.12-bin.tar.gz -O $DIR/build/apache-rat.tar.gz
|
||||
wget 'https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=creadur/apache-rat-0.13/apache-rat-0.13-bin.tar.gz' -O $DIR/build/apache-rat.tar.gz
|
||||
cd $DIR/build
|
||||
tar zvxf apache-rat.tar.gz
|
||||
cd -
|
||||
fi
|
||||
java -jar $DIR/build/apache-rat-0.12/apache-rat-0.12.jar $DIR -e public -e apache-rat-0.12 -e .git -e .gitignore
|
||||
java -jar $DIR/build/apache-rat-0.13/apache-rat-0.13.jar $DIR -e public -e apache-rat-0.12 -e .git -e .gitignore
|
||||
docker build -t apache/hadoop-runner .
|
||||
|
|
Loading…
Reference in New Issue