Browse Source

HADOOP-15610. Fixed pylint version for Hadoop docker image.
Contributed by Jack Bearden

(cherry picked from commit ba1ab08fdae96ad7c9c4f4bf8672abd741b7f758)

Eric Yang 6 years ago
parent
commit
1776208977
1 changed files with 3 additions and 2 deletions
  1. 3 2
      dev-support/docker/Dockerfile

+ 3 - 2
dev-support/docker/Dockerfile

@@ -151,9 +151,10 @@ RUN apt-get -q update && apt-get -q install -y shellcheck
 RUN apt-get -q update && apt-get -q install -y bats
 RUN apt-get -q update && apt-get -q install -y bats
 
 
 ####
 ####
-# Install pylint (always want latest)
+# Install pylint at fixed version (2.0.0 removed python2 support)
+# https://github.com/PyCQA/pylint/issues/2294
 ####
 ####
-RUN pip2 install pylint
+RUN pip2 install pylint==1.9.2
 
 
 ####
 ####
 # Install dateutil.parser
 # Install dateutil.parser