Skip to content

Commit

Permalink
Fix pip3 (#16)
Browse files Browse the repository at this point in the history
Fix pip3 TLS/SSL
  • Loading branch information
kcwinner authored and shortjared committed Oct 17, 2017
1 parent ea1751d commit a7ad7e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions default/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 2 additions & 4 deletions serverless/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a7ad7e0

Please sign in to comment.