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-
121FROM ubuntu:18.04 AS core
132
143ENV DEBIAN_FRONTEND="noninteractive"
@@ -128,7 +117,7 @@ RUN curl -sS -o /usr/local/bin/aws-iam-authenticator https://amazon-eks.s3.us-we
128117RUN set -ex \
129118 && mkdir /tmp/ssm \
130119 && 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 \
132121 && dpkg -i amazon-ssm-agent.deb
133122
134123# Install env tools for runtimes
@@ -217,8 +206,8 @@ RUN set -ex \
217206
218207# **************** NODEJS ****************************************************
219208
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"
222211
223212RUN 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 \
224213 && 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
233222# **************** RUBY *********************************************************
234223
235224ENV RUBY_26_VERSION="2.6.6" \
236- RUBY_27_VERSION="2.7.1 "
225+ RUBY_27_VERSION="2.7.2 "
237226
238227RUN rbenv install $RUBY_26_VERSION; rm -rf /tmp/*
239228RUN 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
244233ENV PYTHON_38_VERSION="3.8.3" \
245234 PYTHON_37_VERSION="3.7.7"
246235
247- ENV PYTHON_PIP_VERSION=19.3.1
236+ ENV PYTHON_PIP_VERSION=20.2.4
248237
249238COPY tools/runtime_configs/python/$PYTHON_37_VERSION /root/.pyenv/plugins/python-build/share/python-build/$PYTHON_37_VERSION
250239RUN env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install $PYTHON_37_VERSION; rm -rf /tmp/*
251240RUN pyenv global $PYTHON_37_VERSION
252241RUN set -ex \
253242 && pip3 install --no-cache-dir --upgrade --force-reinstall "pip==$PYTHON_PIP_VERSION" \
254243 && 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
256245
257246
258247COPY 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
261250RUN set -ex \
262251 && pip3 install --no-cache-dir --upgrade --force-reinstall "pip==$PYTHON_PIP_VERSION" \
263252 && 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
265254
266255# **************** END PYTHON *****************************************************
267256
@@ -458,7 +447,7 @@ VOLUME /var/lib/docker
458447FROM runtimes_n_corretto AS std_v4
459448
460449# GoLang 14
461- ENV GOLANG_14_VERSION="1.14.7 "
450+ ENV GOLANG_14_VERSION="1.14.12 "
462451RUN goenv install $GOLANG_14_VERSION; rm -rf /tmp/*; \
463452 goenv global $GOLANG_14_VERSION
464453
0 commit comments