HADOOP-14977. Xenial dockerfile needs ant in main build for findbugs

Signed-off-by: Allen Wittenauer <aw@apache.org>
This commit is contained in:
Akira Ajisaka 2017-10-25 08:08:22 -07:00 committed by Allen Wittenauer
parent 54b72acd77
commit 5b98639400
No known key found for this signature in database
GPG Key ID: E01B34FBE846DF38

View File

@ -134,8 +134,9 @@ ENV MAVEN_HOME /usr
###### ######
# Install findbugs 3.0.1 (3.0.1 ships with Xenial) # Install findbugs 3.0.1 (3.0.1 ships with Xenial)
# Ant is needed for findbugs
###### ######
RUN apt-get -q update && apt-get -q install -y findbugs RUN apt-get -q update && apt-get -q install -y findbugs ant
ENV FINDBUGS_HOME /usr ENV FINDBUGS_HOME /usr
#### ####
@ -182,9 +183,9 @@ ENV MAVEN_OPTS -Xms256m -Xmx1g
### ###
#### ####
# Install svn, Ant, & Forrest (for Apache Hadoop website) # Install svn & Forrest (for Apache Hadoop website)
### ###
RUN apt-get -q update && apt-get -q install -y ant subversion RUN apt-get -q update && apt-get -q install -y subversion
RUN mkdir -p /opt/apache-forrest && \ RUN mkdir -p /opt/apache-forrest && \
curl -L -s -S \ curl -L -s -S \