Browse Source

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

Eric Yang 7 năm trước cách đây
mục cha
commit
ba1ab08fda
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 3 2
      dev-support/docker/Dockerfile

+ 3 - 2
dev-support/docker/Dockerfile

@@ -154,9 +154,10 @@ RUN apt-get -q update && apt-get -q install -y shellcheck
 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