Commit a7ad7e0 1 parent ea1751d commit a7ad7e0 Copy full SHA for a7ad7e0
File tree 2 files changed +4
-8
lines changed
2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,13 @@ RUN ln -s /usr/local/bin/node /usr/local/bin/nodejs
34
34
RUN \
35
35
yum install aws-cli -y
36
36
37
- RUN yum -y install zlib-devel
37
+ RUN yum -y install zlib-devel openssl-devel
38
38
39
39
# Install Python 3.6
40
40
RUN curl -O https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tar.xz
41
41
RUN tar xJf Python-3.6.0.tar.xz
42
42
WORKDIR /Python-3.6.0
43
- RUN ./configure
44
- RUN make
45
- RUN make install
43
+ RUN ./configure --enable-optimizations && make && make install
46
44
WORKDIR /
47
45
48
46
RUN curl -O https://bootstrap.pypa.io/get-pip.py
Original file line number Diff line number Diff line change @@ -38,15 +38,13 @@ RUN \
38
38
RUN \
39
39
yum install aws-cli -y
40
40
41
- RUN yum -y install zlib-devel
41
+ RUN yum -y install zlib-devel openssl-devel
42
42
43
43
# Install Python 3.6
44
44
RUN curl -O https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tar.xz
45
45
RUN tar xJf Python-3.6.0.tar.xz
46
46
WORKDIR /Python-3.6.0
47
- RUN ./configure
48
- RUN make
49
- RUN make install
47
+ RUN ./configure --enable-optimizations && make && make install
50
48
WORKDIR /
51
49
52
50
RUN curl -O https://bootstrap.pypa.io/get-pip.py
You can’t perform that action at this time.
0 commit comments