Repository: cassandra-builds
Updated Branches:
  refs/heads/master 8f796c668 -> fb5df10b6


Update centos docker file to avoid py ssl warnings


Project: http://git-wip-us.apache.org/repos/asf/cassandra-builds/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra-builds/commit/a317ef0c
Tree: http://git-wip-us.apache.org/repos/asf/cassandra-builds/tree/a317ef0c
Diff: http://git-wip-us.apache.org/repos/asf/cassandra-builds/diff/a317ef0c

Branch: refs/heads/master
Commit: a317ef0c79c6c38f2ed7627482a609cf9c7bc4e7
Parents: 8f796c6
Author: Stefan Podkowinski <stefan.podkowin...@1und1.de>
Authored: Fri Jun 8 14:32:24 2018 +0200
Committer: Stefan Podkowinski <stefan.podkowin...@1und1.de>
Committed: Fri Jun 8 14:32:24 2018 +0200

----------------------------------------------------------------------
 docker/centos7-image.docker | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra-builds/blob/a317ef0c/docker/centos7-image.docker
----------------------------------------------------------------------
diff --git a/docker/centos7-image.docker b/docker/centos7-image.docker
index c082939..90d7b28 100644
--- a/docker/centos7-image.docker
+++ b/docker/centos7-image.docker
@@ -24,11 +24,17 @@ RUN yum -y install \
 # via epel-releases
 RUN yum -y install python2-pip
 
+# install ssl enabled urllib for retrieving python packages
+# this will produce some ssl related warnings, which will be resolved once the 
package has been installed
+RUN pip install urllib3[secure]
+
+# upgrade to modern pip version
+RUN pip install --upgrade pip
+
 # install Sphinx to generate docs
 RUN pip install \
    Sphinx \
-   sphinx_rtd_theme \
-   urllib3
+   sphinx_rtd_theme
 
 # create and change to build user
 RUN adduser build


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to