adoroszlai commented on PR #7135:
URL: https://github.com/apache/hadoop/pull/7135#issuecomment-2449332028
Sorry for force-pushing the branch, but it was necessary, since I want to
push this to `docker-hadoop-3.4.1` as a single commit. I made the following
changes:
1. fix items to be ignored being passed to Rat
2. let `docker build` pick up `HADOOP_URL` from environment (to allow custom
URL)
```diff
--- build.sh
+++ build.sh
@@ -37,6 +37,6 @@ if [ ! -d "$DIR/build/apache-rat-${rat_version}" ]; then
cd -
fi
-java -jar
$DIR/build/apache-rat-${rat_version}/apache-rat-${rat_version}.jar $DIR -e
.dockerignore -e public -e apache-rat-${rat_version} -e .git -e .gitignore
+java -jar
$DIR/build/apache-rat-${rat_version}/apache-rat-${rat_version}.jar $DIR -e
.dockerignore -e build -e .git -e .gitignore
-docker build -t apache/hadoop:dev .
+docker build --build-arg HADOOP_URL -t apache/hadoop:dev .
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]