File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1414# limitations under the License.
1515
1616FROM apache/hadoop-runner
17- ARG HADOOP_URL=https://dlcdn.apache.org/hadoop/common/hadoop-3.3.1 /hadoop-3.3.1 .tar.gz
17+ ARG HADOOP_URL=https://dlcdn.apache.org/hadoop/common/hadoop-3.3.5 /hadoop-3.3.5 .tar.gz
1818WORKDIR /opt
1919RUN sudo rm -rf /opt/hadoop && curl -LSs -o hadoop.tar.gz $HADOOP_URL && tar zxf hadoop.tar.gz && rm hadoop.tar.gz && mv hadoop* hadoop && rm -rf /opt/hadoop/share/doc
2020WORKDIR /opt/hadoop
Original file line number Diff line number Diff line change 1717DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
1818set -e
1919mkdir -p build
20- if [ ! -d " $DIR /build/apache-rat-0.13 " ]; then
21- curl -LSs https://dlcdn.apache.org/creadur/apache-rat-0.13 /apache-rat-0.13 -bin.tar.gz -o " $DIR /build/apache-rat.tar.gz"
20+ if [ ! -d " $DIR /build/apache-rat-0.15 " ]; then
21+ curl -LSs https://dlcdn.apache.org/creadur/apache-rat-0.15 /apache-rat-0.15 -bin.tar.gz -o " $DIR /build/apache-rat.tar.gz"
2222cd $DIR /build
2323tar zvxf apache-rat.tar.gz
2424cd -
2525fi
26- java -jar $DIR /build/apache-rat-0.13 /apache-rat-0.13 .jar $DIR -e public -e apache-rat-0.13 -e .git -e .gitignore
26+ java -jar $DIR /build/apache-rat-0.15 /apache-rat-0.15 .jar $DIR -e public -e apache-rat-0.15 -e .git -e .gitignore
2727docker build -t apache/hadoop:3 .
You can’t perform that action at this time.
0 commit comments