File tree 2 files changed +23
-1
lines changed
2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -34,5 +34,16 @@ 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
38
+
39
+ # Install Python 3.6
40
+ RUN curl -O https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tar.xz
41
+ RUN tar xJf Python-3.6.0.tar.xz
42
+ WORKDIR /Python-3.6.0
43
+ RUN ./configure
44
+ RUN make
45
+ RUN make install
46
+ WORKDIR /
47
+
37
48
RUN curl -O https://bootstrap.pypa.io/get-pip.py
38
49
RUN python get-pip.py
Original file line number Diff line number Diff line change @@ -32,11 +32,22 @@ RUN ln -s /usr/local/bin/node /usr/local/bin/nodejs
32
32
33
33
# ############ Install serverless dependencies
34
34
RUN \
35
- npm install -g serverless@1.14 .0
35
+ npm install -g serverless@1.23 .0
36
36
37
37
# Install aws dependencies
38
38
RUN \
39
39
yum install aws-cli -y
40
40
41
+ RUN yum -y install zlib-devel
42
+
43
+ # Install Python 3.6
44
+ RUN curl -O https://www.python.org/ftp/python/3.6.0/Python-3.6.0.tar.xz
45
+ RUN tar xJf Python-3.6.0.tar.xz
46
+ WORKDIR /Python-3.6.0
47
+ RUN ./configure
48
+ RUN make
49
+ RUN make install
50
+ WORKDIR /
51
+
41
52
RUN curl -O https://bootstrap.pypa.io/get-pip.py
42
53
RUN python get-pip.py
You can’t perform that action at this time.
0 commit comments