Parcourir la source

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

Signed-off-by: Allen Wittenauer <aw@apache.org>
Akira Ajisaka il y a 7 ans
Parent
commit
5b98639400
1 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. 4 3
      dev-support/docker/Dockerfile

+ 4 - 3
dev-support/docker/Dockerfile

@@ -134,8 +134,9 @@ ENV MAVEN_HOME /usr
 
 ######
 # 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
 
 ####
@@ -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 && \
     curl -L -s -S \