浏览代码

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

Akira Ajisaka 5 年之前
父节点
当前提交
e6455cc864
共有 2 个文件被更改,包括 6 次插入2 次删除
  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)
 # 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

+ 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)
 # 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