1
- # Copyright 2020-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Amazon Software License (the "License"). You may not use this file except in compliance with the License.
4
- # A copy of the License is located at
5
- #
6
- # http://aws.amazon.com/asl/
7
- #
8
- # or in the "license" file accompanying this file.
9
- # This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
10
- # See the License for the specific language governing permissions and limitations under the License.
11
-
12
1
FROM ubuntu:18.04 AS core
13
2
14
3
ENV DEBIAN_FRONTEND="noninteractive"
@@ -128,7 +117,7 @@ RUN curl -sS -o /usr/local/bin/aws-iam-authenticator https://amazon-eks.s3.us-we
128
117
RUN set -ex \
129
118
&& mkdir /tmp/ssm \
130
119
&& cd /tmp/ssm \
131
- && wget https://s3.eu-north-1. amazonaws.com/amazon-ssm-eu-north -1/latest /debian_amd64/amazon-ssm-agent.deb \
120
+ && wget https://s3.amazonaws.com/amazon-ssm-us-east -1/2.3.1644.0 /debian_amd64/amazon-ssm-agent.deb \
132
121
&& dpkg -i amazon-ssm-agent.deb
133
122
134
123
# Install env tools for runtimes
@@ -217,8 +206,8 @@ RUN set -ex \
217
206
218
207
# **************** NODEJS ****************************************************
219
208
220
- ENV NODE_12_VERSION="12.18.0 " \
221
- NODE_10_VERSION="10.21 .0"
209
+ ENV NODE_12_VERSION="12.19.1 " \
210
+ NODE_10_VERSION="10.23 .0"
222
211
223
212
RUN n $NODE_10_VERSION && npm install --save-dev -g -f grunt && npm install --save-dev -g -f grunt-cli && npm install --save-dev -g -f webpack \
224
213
&& n $NODE_12_VERSION && npm install --save-dev -g -f grunt && npm install --save-dev -g -f grunt-cli && npm install --save-dev -g -f webpack \
@@ -233,7 +222,7 @@ RUN n $NODE_10_VERSION && npm install --save-dev -g -f grunt && npm install
233
222
# **************** RUBY *********************************************************
234
223
235
224
ENV RUBY_26_VERSION="2.6.6" \
236
- RUBY_27_VERSION="2.7.1 "
225
+ RUBY_27_VERSION="2.7.2 "
237
226
238
227
RUN rbenv install $RUBY_26_VERSION; rm -rf /tmp/*
239
228
RUN rbenv install $RUBY_27_VERSION; rm -rf /tmp/*; rbenv global $RUBY_27_VERSION;ruby -v
@@ -244,15 +233,15 @@ RUN rbenv install $RUBY_27_VERSION; rm -rf /tmp/*; rbenv global $RUBY_27_VERSION
244
233
ENV PYTHON_38_VERSION="3.8.3" \
245
234
PYTHON_37_VERSION="3.7.7"
246
235
247
- ENV PYTHON_PIP_VERSION=19.3.1
236
+ ENV PYTHON_PIP_VERSION=20.2.4
248
237
249
238
COPY tools/runtime_configs/python/$PYTHON_37_VERSION /root/.pyenv/plugins/python-build/share/python-build/$PYTHON_37_VERSION
250
239
RUN env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install $PYTHON_37_VERSION; rm -rf /tmp/*
251
240
RUN pyenv global $PYTHON_37_VERSION
252
241
RUN set -ex \
253
242
&& pip3 install --no-cache-dir --upgrade --force-reinstall "pip==$PYTHON_PIP_VERSION" \
254
243
&& pip3 install --no-cache-dir --upgrade "PyYAML==5.3.1" \
255
- && pip3 install --no-cache-dir --upgrade setuptools wheel aws-sam-cli awscli boto3 pipenv virtualenv
244
+ && pip3 install --no-cache-dir --upgrade setuptools wheel aws-sam-cli awscli boto3 pipenv virtualenv --use-feature=2020-resolver
256
245
257
246
258
247
COPY tools/runtime_configs/python/$PYTHON_38_VERSION /root/.pyenv/plugins/python-build/share/python-build/$PYTHON_38_VERSION
@@ -261,7 +250,7 @@ RUN pyenv global $PYTHON_38_VERSION
261
250
RUN set -ex \
262
251
&& pip3 install --no-cache-dir --upgrade --force-reinstall "pip==$PYTHON_PIP_VERSION" \
263
252
&& pip3 install --no-cache-dir --upgrade "PyYAML==5.3.1" \
264
- && pip3 install --no-cache-dir --upgrade setuptools wheel aws-sam-cli awscli boto3 pipenv virtualenv
253
+ && pip3 install --no-cache-dir --upgrade setuptools wheel aws-sam-cli awscli boto3 pipenv virtualenv --use-feature=2020-resolver
265
254
266
255
# **************** END PYTHON *****************************************************
267
256
@@ -458,7 +447,7 @@ VOLUME /var/lib/docker
458
447
FROM runtimes_n_corretto AS std_v4
459
448
460
449
# GoLang 14
461
- ENV GOLANG_14_VERSION="1.14.7 "
450
+ ENV GOLANG_14_VERSION="1.14.12 "
462
451
RUN goenv install $GOLANG_14_VERSION; rm -rf /tmp/*; \
463
452
goenv global $GOLANG_14_VERSION
464
453
0 commit comments