You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@yetus.apache.org by bu...@apache.org on 2016/03/19 07:48:16 UTC

yetus git commit: YETUS-337 Upgrade version of pylint used in Dockerfile.

Repository: yetus
Updated Branches:
  refs/heads/master 21a88d7cd -> 5f12fe008


YETUS-337 Upgrade version of pylint used in Dockerfile.

The default Dockerfile now relies on pip to grab an up-to-date version of pylint,
rather than rely on the version shipped in dpkg.

Signed-off-by: Sean Busbey <bu...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/5f12fe00
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/5f12fe00
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/5f12fe00

Branch: refs/heads/master
Commit: 5f12fe0085a806d1a018fa5b880810f6d284429a
Parents: 21a88d7
Author: Andrew Wang <an...@cloudera.com>
Authored: Sat Mar 19 01:44:11 2016 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Sat Mar 19 01:44:11 2016 -0500

----------------------------------------------------------------------
 precommit/test-patch-docker/Dockerfile | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/yetus/blob/5f12fe00/precommit/test-patch-docker/Dockerfile
----------------------------------------------------------------------
diff --git a/precommit/test-patch-docker/Dockerfile b/precommit/test-patch-docker/Dockerfile
index 196d325..08eddf4 100644
--- a/precommit/test-patch-docker/Dockerfile
+++ b/precommit/test-patch-docker/Dockerfile
@@ -27,7 +27,7 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
     cmake gcc g++ pkg-config \
     build-essential libtool \
     autoconf automake \
-    python python2.7 pylint \
+    python python2.7 python-pip \
     openjdk-7-jdk \
     libperl-critic-perl
 
@@ -35,6 +35,11 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
 # See http://wiki.apache.org/commons/VfsProblems
 RUN cd /usr/share/maven/lib && ln -s ../../java/commons-lang.jar .
 
+####
+# Pylint
+####
+RUN pip install pylint
+
 #######
 # Oracle Java
 #######
@@ -107,4 +112,4 @@ RUN apt-get install -y bats
 RUN locale-gen en_US.UTF-8
 ENV LANG en_US.UTF-8
 ENV LANGUAGE en_US:en
-ENV LC_ALL en_US.UTF-8
\ No newline at end of file
+ENV LC_ALL en_US.UTF-8