From f537a51288438df2270405cf7c36d73ffc0d3584 Mon Sep 17 00:00:00 2001 From: Akira Ajisaka Date: Sat, 4 Apr 2020 16:52:04 +0900 Subject: [PATCH] HADOOP-16949. pylint fails in the build environment (#1926) (cherry picked from commit e6455cc864d932469610e86644162fa324589067) --- dev-support/docker/Dockerfile | 4 +++- dev-support/docker/Dockerfile_aarch64 | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile index de416fa840..728e082d5f 100644 --- a/dev-support/docker/Dockerfile +++ b/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 diff --git a/dev-support/docker/Dockerfile_aarch64 b/dev-support/docker/Dockerfile_aarch64 index 8d3c3ad41c..8f5ebf0ac1 100644 --- a/dev-support/docker/Dockerfile_aarch64 +++ b/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