From a7ad7e058c2e8484db048290d49e3573b88fa25d Mon Sep 17 00:00:00 2001 From: Kenneth Winner Date: Tue, 17 Oct 2017 14:01:44 -0500 Subject: [PATCH] Fix pip3 (#16) Fix pip3 TLS/SSL --- default/Dockerfile | 6 ++---- serverless/Dockerfile | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/default/Dockerfile b/default/Dockerfile index 15bf46d..cd2b4aa 100644 --- a/default/Dockerfile +++ b/default/Dockerfile @@ -34,15 +34,13 @@ RUN ln -s /usr/local/bin/node /usr/local/bin/nodejs RUN \ yum install aws-cli -y -RUN yum -y install zlib-devel +RUN yum -y install zlib-devel openssl-devel # Install Python 3.6 RUN curl -O https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tar.xz RUN tar xJf Python-3.6.0.tar.xz WORKDIR /Python-3.6.0 -RUN ./configure -RUN make -RUN make install +RUN ./configure --enable-optimizations && make && make install WORKDIR / RUN curl -O https://bootstrap.pypa.io/get-pip.py diff --git a/serverless/Dockerfile b/serverless/Dockerfile index 6eed14d..9207602 100644 --- a/serverless/Dockerfile +++ b/serverless/Dockerfile @@ -38,15 +38,13 @@ RUN \ RUN \ yum install aws-cli -y -RUN yum -y install zlib-devel +RUN yum -y install zlib-devel openssl-devel # Install Python 3.6 RUN curl -O https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tar.xz RUN tar xJf Python-3.6.0.tar.xz WORKDIR /Python-3.6.0 -RUN ./configure -RUN make -RUN make install +RUN ./configure --enable-optimizations && make && make install WORKDIR / RUN curl -O https://bootstrap.pypa.io/get-pip.py