Browse Source

HADOOP-16949. pylint fails in the build environment (#1926)

Akira Ajisaka 5 years ago
parent
commit
e6455cc864
2 changed files with 6 additions and 2 deletions
  1. 3 1
      dev-support/docker/Dockerfile
  2. 3 1
      dev-support/docker/Dockerfile_aarch64

+ 3 - 1
dev-support/docker/Dockerfile

@@ -166,7 +166,9 @@ RUN apt-get -q update \
 # Install pylint at fixed version (2.0.0 removed python2 support)
 # Install pylint at fixed version (2.0.0 removed python2 support)
 # https://github.com/PyCQA/pylint/issues/2294
 # https://github.com/PyCQA/pylint/issues/2294
 ####
 ####
-RUN pip2 install pylint==1.9.2
+RUN pip2 install \
+    configparser==4.0.2 \
+    pylint==1.9.2
 
 
 ####
 ####
 # Install dateutil.parser
 # Install dateutil.parser

+ 3 - 1
dev-support/docker/Dockerfile_aarch64

@@ -174,7 +174,9 @@ RUN apt-get -q update \
 # Install pylint at fixed version (2.0.0 removed python2 support)
 # Install pylint at fixed version (2.0.0 removed python2 support)
 # https://github.com/PyCQA/pylint/issues/2294
 # https://github.com/PyCQA/pylint/issues/2294
 ####
 ####
-RUN pip2 install pylint==1.9.2
+RUN pip2 install \
+    configparser==4.0.2 \
+    pylint==1.9.2
 
 
 ####
 ####
 # Install dateutil.parser
 # Install dateutil.parser