From 374827079c2d579889efc6386c3005846728b2b7 Mon Sep 17 00:00:00 2001 From: Greg Lin Date: Thu, 16 Apr 2020 18:15:53 -0500 Subject: [PATCH] Fix pip installation on CentOS 6 Previously, the pip install was failing with: InsecurePlatformWarning: A true SSLContext object is not available. --- builder/Dockerfile.centos-6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builder/Dockerfile.centos-6 b/builder/Dockerfile.centos-6 index 71d60a2..a70520a 100644 --- a/builder/Dockerfile.centos-6 +++ b/builder/Dockerfile.centos-6 @@ -50,8 +50,8 @@ RUN yum -y update \ && yum clean all # Install pip -RUN curl "https://bootstrap.pypa.io/2.6/get-pip.py" -o "get-pip.py" && \ - python get-pip.py +RUN yum install -y epel-release && \ + yum install -y python-pip # Install AWS CLI. RUN pip install awscli --upgrade --user && \