@@ -96,9 +96,9 @@ RUN set -ex \
96
96
97
97
# Install stunnel
98
98
RUN set -ex \
99
- && STUNNEL_VERSION=5.56 \
99
+ && STUNNEL_VERSION=5.64 \
100
100
&& STUNNEL_TAR=stunnel-$STUNNEL_VERSION.tar.gz \
101
- && STUNNEL_SHA256="7384bfb356b9a89ddfee70b5ca494d187605bb516b4fff597e167f97e2236b22 " \
101
+ && STUNNEL_SHA256="eebe53ed116ba43b2e786762b0c2b91511e7b74857ad4765824e7199e6faf883 " \
102
102
&& curl -o $STUNNEL_TAR https://www.usenix.org.uk/mirrors/stunnel/archive/5.x/$STUNNEL_TAR && echo "$STUNNEL_SHA256 $STUNNEL_TAR" | sha256sum --check && tar xfz $STUNNEL_TAR \
103
103
&& cd stunnel-$STUNNEL_VERSION \
104
104
&& ./configure \
@@ -111,15 +111,15 @@ RUN set -ex \
111
111
112
112
# AWS Tools
113
113
# https://docs.aws.amazon.com/eks/latest/userguide/install-aws-iam-authenticator.html https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_CLI_installation.html
114
- RUN curl -sS -o /usr/local/bin/aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.16.8/2020-04-16 /bin/linux/amd64/aws-iam-authenticator \
115
- && curl -sS -o /usr/local/bin/kubectl https://amazon-eks.s3.us-west-2.amazonaws.com/1.16.8/2020-04-16 /bin/linux/amd64/kubectl \
114
+ RUN curl -sS -o /usr/local/bin/aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.22.6/2022-03-09 /bin/linux/amd64/aws-iam-authenticator \
115
+ && curl -sS -o /usr/local/bin/kubectl https://amazon-eks.s3.us-west-2.amazonaws.com/1.22.6/2022-03-09 /bin/linux/amd64/kubectl \
116
116
&& curl -sS -o /usr/local/bin/ecs-cli https://s3.amazonaws.com/amazon-ecs-cli/ecs-cli-linux-amd64-latest \
117
117
&& curl -sS -L https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_Linux_amd64.tar.gz | tar xz -C /usr/local/bin \
118
118
&& chmod +x /usr/local/bin/kubectl /usr/local/bin/aws-iam-authenticator /usr/local/bin/ecs-cli /usr/local/bin/eksctl
119
119
120
120
# Configure SSM
121
121
RUN set -ex \
122
- && yum install -y -q https://s3.amazonaws.com/amazon-ssm-us-east-1/3.0.1390 .0/linux_amd64/amazon-ssm-agent.rpm
122
+ && yum install -y -q https://s3.amazonaws.com/amazon-ssm-us-east-1/3.1.1374 .0/linux_amd64/amazon-ssm-agent.rpm
123
123
124
124
# Install env tools for runtimes
125
125
# # Dotnet
@@ -172,12 +172,12 @@ ENV JAVA_11_HOME="/usr/lib/jvm/java-11-amazon-corretto.x86_64" \
172
172
JAVA_8_HOME="/usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64" \
173
173
JDK_8_HOME="/usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64" \
174
174
JRE_8_HOME="/usr/lib/jvm/java-1.8.0-amazon-corretto.x86_64/jre" \
175
- ANT_VERSION=1.10.8 \
175
+ ANT_VERSION=1.10.12 \
176
176
MAVEN_HOME="/opt/maven" \
177
177
MAVEN_VERSION=3.6.3 \
178
178
INSTALLED_GRADLE_VERSIONS="4.10.3 5.6.4" \
179
179
GRADLE_VERSION=5.6.4 \
180
- SBT_VERSION=1.6.1 \
180
+ SBT_VERSION=1.6.2 \
181
181
ANDROID_HOME="/usr/local/android-sdk-linux" \
182
182
GRADLE_PATH="$SRC_DIR/gradle" \
183
183
ANDROID_SDK_MANAGER_VER="4333796" \
@@ -186,11 +186,11 @@ ENV JAVA_11_HOME="/usr/lib/jvm/java-11-amazon-corretto.x86_64" \
186
186
ANDROID_SDK_BUILD_TOOLS_28="build-tools;28.0.3" \
187
187
ANDROID_SDK_PLATFORM_TOOLS_28="platforms;android-28" \
188
188
ANDROID_SDK_EXTRAS="extras;android;m2repository extras;google;m2repository extras;google;google_play_services" \
189
- ANT_DOWNLOAD_SHA512="4d80dc6ba23eeec7769085ddb00261b7480b596b56c6e69aa221391acbfb7338eb5855179c88222c8021095ef1f64f43caf2b4f90e8305d7c3128026d4258d06 " \
189
+ ANT_DOWNLOAD_SHA512="2287dc5cfc21043c14e5413f9afb1c87c9f266ec2a9ba2d3bf2285446f6e4ccb59b558bf2e5c57911a05dfa293c7d5c7ad60ac9f744ba11406f4e6f9a27b2403 " \
190
190
MAVEN_DOWNLOAD_SHA512="c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0" \
191
191
GRADLE_DOWNLOADS_SHA256="abc10bcedb58806e8654210f96031db541bcd2d6fc3161e81cb0572d6a15e821 5.6.4\n 336b6898b491f6334502d8074a6b8c2d73ed83b92123106bd4bf837f04111043 4.10.3" \
192
192
ANDROID_SDK_MANAGER_SHA256="92ffee5a1d98d856634e8b71132e8a95d96c83a63fde1099be3d86df3106def9" \
193
- SBT_DOWNLOAD_SHA256="60286bf1b875b31e2955f8a699888cd2612e9afd94d03cde0a2e71efd7492ffc " \
193
+ SBT_DOWNLOAD_SHA256="637637b6c4e6fa04ab62cd364061e32b12480b09001cd23303df62b36fadd440 " \
194
194
LOG4J_UNSAFE_VERSIONS="2.11.1 1.2.8"
195
195
196
196
ARG MAVEN_CONFIG_HOME="/root/.m2"
@@ -231,7 +231,7 @@ RUN set -x \
231
231
update-alternatives --install /usr/bin/$tool $tool $tool_path 10000; \
232
232
update-alternatives --set $tool $tool_path; \
233
233
done \
234
- && rm $JAVA_HOME/lib/security/cacerts && ln -s /etc/pki/java/cacerts $JAVA_HOME/lib/security/cacerts \
234
+ && rm $JAVA_HOME/lib/security/cacerts && ln -s /etc/pki/java/cacerts $JAVA_HOME/lib/security/cacerts \
235
235
# Install Ant
236
236
&& curl -LSso /var/tmp/apache-ant-$ANT_VERSION-bin.tar.gz https://archive.apache.org/dist/ant/binaries/apache-ant-$ANT_VERSION-bin.tar.gz \
237
237
&& echo "$ANT_DOWNLOAD_SHA512 /var/tmp/apache-ant-$ANT_VERSION-bin.tar.gz" | sha512sum -c - \
@@ -306,7 +306,7 @@ ENV NODE_10_VERSION="10.24.1"
306
306
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 \
307
307
&& curl -sSL https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo \
308
308
&& rpm --import https://dl.yarnpkg.com/rpm/pubkey.gpg \
309
- && yum install -y https://download-ib01.fedoraproject.org/pub/epel/8/Modular/x86_64/Packages/l/libuv-1.43.0-2.module_el8+13774+f8c1f5a5 .x86_64.rpm \
309
+ && yum install -y https://download-ib01.fedoraproject.org/pub/epel/8/Modular/x86_64/Packages/l/libuv-1.43.0-2.module_el8+13804+34326f90 .x86_64.rpm \
310
310
&& yum install -y -q yarn \
311
311
&& yarn --version \
312
312
&& cd / && rm -rf $N_SRC_DIR && rm -rf /tmp/*
@@ -315,14 +315,14 @@ RUN n $NODE_10_VERSION && npm install --save-dev -g -f grunt && npm install --s
315
315
316
316
# **************** RUBY *********************************************************
317
317
318
- ENV RUBY_26_VERSION="2.6.6 "
318
+ ENV RUBY_26_VERSION="2.6.10 "
319
319
320
320
RUN rbenv install $RUBY_26_VERSION && rm -rf /tmp/* && rbenv global $RUBY_26_VERSION && ruby -v
321
321
322
322
# **************** END RUBY *****************************************************
323
323
324
324
# **************** PYTHON *****************************************************
325
- ENV PYTHON_37_VERSION="3.7.10 "
325
+ ENV PYTHON_37_VERSION="3.7.13 "
326
326
ENV PYTHON_PIP_VERSION=21.1.2
327
327
ENV PYYAML_VERSION=5.4.1
328
328
@@ -337,7 +337,7 @@ RUN set -ex \
337
337
# **************** END PYTHON *****************************************************
338
338
339
339
# **************** PHP ****************************************************
340
- ENV PHP_73_VERSION="7.3.19 "
340
+ ENV PHP_73_VERSION="7.3.33 "
341
341
342
342
COPY tools/runtime_configs/php/$PHP_73_VERSION /root/.phpenv/plugins/php-build/share/php-build/definitions/$PHP_73_VERSION
343
343
RUN phpenv install $PHP_73_VERSION && rm -rf /tmp/* && phpenv global $PHP_73_VERSION
@@ -370,8 +370,8 @@ ENV DOCKER_BUCKET="download.docker.com" \
370
370
DIND_COMMIT="3b5fac462d21ca164b3778647420016315289034" \
371
371
DOCKER_COMPOSE_VERSION="1.26.0"
372
372
373
- ENV DOCKER_SHA256="dd6ff72df1edfd61ae55feaa4aadb88634161f0aa06dbaaf291d1be594099ff3 "
374
- ENV DOCKER_VERSION="20.10.11 "
373
+ ENV DOCKER_SHA256="9ccfc39305ae1d8882d18c9c431544fca82913d6df717409ac2244ac58c4f070 "
374
+ ENV DOCKER_VERSION="20.10.15 "
375
375
376
376
VOLUME /var/lib/docker
377
377
@@ -392,7 +392,7 @@ RUN set -ex \
392
392
&& docker-compose version
393
393
394
394
# Python 3.8
395
- ENV PYTHON_38_VERSION="3.8.10 "
395
+ ENV PYTHON_38_VERSION="3.8.13 "
396
396
397
397
COPY tools/runtime_configs/python/$PYTHON_38_VERSION /root/.pyenv/plugins/python-build/share/python-build/$PYTHON_38_VERSION
398
398
RUN env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install $PYTHON_38_VERSION && rm -rf /tmp/*
@@ -403,7 +403,7 @@ RUN set -ex \
403
403
&& pip3 install --no-cache-dir --upgrade 'setuptools==57.4.0' wheel aws-sam-cli awscli boto3 pipenv virtualenv --use-feature=2020-resolver
404
404
405
405
# Python 3.9
406
- ENV PYTHON_39_VERSION="3.9.5 "
406
+ ENV PYTHON_39_VERSION="3.9.12 "
407
407
408
408
COPY tools/runtime_configs/python/$PYTHON_39_VERSION /root/.pyenv/plugins/python-build/share/python-build/$PYTHON_39_VERSION
409
409
RUN env PYTHON_CONFIGURE_OPTS="--enable-shared" pyenv install $PYTHON_39_VERSION && rm -rf /tmp/*
@@ -414,7 +414,7 @@ RUN set -ex \
414
414
&& pip3 install --no-cache-dir --upgrade 'setuptools==57.4.0' wheel aws-sam-cli awscli boto3 pipenv virtualenv --use-feature=2020-resolver
415
415
416
416
# Node 12
417
- ENV NODE_12_VERSION="12.22.2 "
417
+ ENV NODE_12_VERSION="12.22.12 "
418
418
419
419
RUN 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 \
420
420
&& rm -rf /tmp/*
@@ -423,9 +423,10 @@ RUN n $NODE_12_VERSION && npm install --save-dev -g -f grunt && npm install --s
423
423
FROM runtimes_2 AS runtimes_3
424
424
425
425
# DotNet 3.1
426
- ENV DOTNET_31_SDK_VERSION="3.1.301 "
426
+ ENV DOTNET_31_SDK_VERSION="3.1.419 "
427
427
ENV DOTNET_ROOT="/root/.dotnet"
428
428
429
+ # Add .NET Core 3.1 Global Tools install folder to PATH
429
430
RUN /usr/local/bin/dotnet-install.sh -v $DOTNET_31_SDK_VERSION \
430
431
&& dotnet --list-sdks \
431
432
&& rm -rf /tmp/*
@@ -447,15 +448,15 @@ RUN set -ex \
447
448
&& ln -s ~/.dotnet/tools/dotnet-gitversion /usr/local/bin/gitversion
448
449
449
450
# Ruby 2.7
450
- ENV RUBY_27_VERSION="2.7.2 "
451
+ ENV RUBY_27_VERSION="2.7.6 "
451
452
RUN rbenv install $RUBY_27_VERSION && rm -rf /tmp/* && rbenv global $RUBY_27_VERSION && ruby -v
452
453
453
454
# Golang 14
454
- ENV GOLANG_14_VERSION="1.14.12 "
455
+ ENV GOLANG_14_VERSION="1.14.15 "
455
456
RUN goenv install $GOLANG_14_VERSION && rm -rf /tmp/* && goenv global $GOLANG_14_VERSION
456
457
457
458
# Php 7.4
458
- ENV PHP_74_VERSION="7.4.7 "
459
+ ENV PHP_74_VERSION="7.4.29 "
459
460
COPY tools/runtime_configs/php/$PHP_74_VERSION /root/.phpenv/plugins/php-build/share/php-build/definitions/$PHP_74_VERSION
460
461
RUN phpenv install $PHP_74_VERSION && rm -rf /tmp/* && phpenv global $PHP_74_VERSION
461
462
RUN echo "memory_limit = 1G;" >> "/root/.phpenv/versions/$PHP_74_VERSION/etc/conf.d/memory.ini"
@@ -473,10 +474,10 @@ FROM runtimes_3 AS al2_v3
473
474
# Configure SSH
474
475
COPY ssh_config /root/.ssh/config
475
476
COPY runtimes.yml /codebuild/image/config/runtimes.yml
476
- COPY dockerd-entrypoint.sh /usr/local/bin/
477
- COPY legal/THIRD_PARTY_LICENSES.txt /usr/share/doc
478
- COPY legal/bill_of_material.txt /usr/share/doc
479
- COPY amazon-ssm-agent.json /etc/amazon/ssm/
477
+ COPY dockerd-entrypoint.sh /usr/local/bin/dockerd-entrypoint.sh
478
+ COPY legal/THIRD_PARTY_LICENSES.txt /usr/share/doc/THIRD_PARTY_LICENSES.txt
479
+ COPY legal/bill_of_material.txt /usr/share/doc/bill_of_material.txt
480
+ COPY amazon-ssm-agent.json /etc/amazon/ssm/amazon-ssm-agent.json
480
481
481
482
ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh" ]
482
483
0 commit comments