@@ -39,7 +39,7 @@ RUN set -ex \
3939 perl-DBI perl-HTTP-Date perl-IO-Pty-Easy perl-TimeDate perl-YAML-LibYAML \
4040 postgresql-devel procps-ng python-configobj readline-devel rsync sgml-common \
4141 subversion-perl tar tcl tk vim wget which xfsprogs xmlto xorg-x11-server-Xvfb xz-devel \
42- amazon-ecr-credential-helper java-17-amazon-corretto-devel \
42+ amazon-ecr-credential-helper \
4343 && rm /etc/yum.repos.d/mono-centos7-stable.repo
4444
4545RUN useradd codebuild-user
@@ -50,7 +50,7 @@ FROM core AS tools
5050
5151# Install Git
5252RUN set -ex \
53- && GIT_VERSION=2.36 .1 \
53+ && GIT_VERSION=2.39 .1 \
5454 && GIT_TAR_FILE=git-$GIT_VERSION.tar.gz \
5555 && GIT_SRC=https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz \
5656 && curl -L -o $GIT_TAR_FILE $GIT_SRC \
@@ -63,9 +63,9 @@ RUN set -ex \
6363
6464# Install stunnel
6565RUN set -ex \
66- && STUNNEL_VERSION=5.64 \
66+ && STUNNEL_VERSION=5.67 \
6767 && STUNNEL_TAR=stunnel-$STUNNEL_VERSION.tar.gz \
68- && STUNNEL_SHA256="eebe53ed116ba43b2e786762b0c2b91511e7b74857ad4765824e7199e6faf883 " \
68+ && STUNNEL_SHA256="3086939ee6407516c59b0ba3fbf555338f9d52f459bcab6337c0f00e91ea8456 " \
6969 && 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 \
7070 && cd stunnel-$STUNNEL_VERSION \
7171 && ./configure \
@@ -137,15 +137,15 @@ ENV JAVA_17_HOME="/usr/lib/jvm/java-17-amazon-corretto.x86_64" \
137137 JRE_17_HOME="/usr/lib/jvm/java-17-amazon-corretto.x86_64" \
138138 ANT_VERSION=1.10.12 \
139139 MAVEN_HOME="/opt/maven" \
140- MAVEN_VERSION=3.8.6 \
141- INSTALLED_GRADLE_VERSIONS="7.4.2 " \
142- GRADLE_VERSION=7.4.2 \
143- SBT_VERSION=1.6 .2 \
140+ MAVEN_VERSION=3.8.7 \
141+ INSTALLED_GRADLE_VERSIONS="7.6 " \
142+ GRADLE_VERSION=7.6 \
143+ SBT_VERSION=1.8 .2 \
144144 GRADLE_PATH="$SRC_DIR/gradle" \
145145 ANT_DOWNLOAD_SHA512="2287dc5cfc21043c14e5413f9afb1c87c9f266ec2a9ba2d3bf2285446f6e4ccb59b558bf2e5c57911a05dfa293c7d5c7ad60ac9f744ba11406f4e6f9a27b2403" \
146- MAVEN_DOWNLOAD_SHA512="f790857f3b1f90ae8d16281f902c689e4f136ebe584aba45e4b1fa66c80cba826d3e0e52fdd04ed44b4c66f6d3fe3584a057c26dfcac544a60b301e6d0f91c26 " \
147- GRADLE_DOWNLOADS_SHA256="e6d864e3b5bc05cc62041842b306383fc1fefcec359e70cebb1d470a6094ca82 7.4.2 " \
148- SBT_DOWNLOAD_SHA256="637637b6c4e6fa04ab62cd364061e32b12480b09001cd23303df62b36fadd440 " \
146+ MAVEN_DOWNLOAD_SHA512="21c2be0a180a326353e8f6d12289f74bc7cd53080305f05358936f3a1b6dd4d91203f4cc799e81761cf5c53c5bbe9dcc13bdb27ec8f57ecf21b2f9ceec3c8d27 " \
147+ GRADLE_DOWNLOADS_SHA256="312eb12875e1747e05c2f81a4789902d7e4ec5defbd1eefeaccc08acf096505d 7.6 " \
148+ SBT_DOWNLOAD_SHA256="1f65344da074dbd66dfefa93c0eff8d319d772e5cad47fcbeb6ae178bbdf4686 " \
149149 LOG4J_UNSAFE_VERSIONS="2.11.1 1.2.8"
150150
151151ARG MAVEN_CONFIG_HOME="/root/.m2"
@@ -155,7 +155,9 @@ ENV JAVA_HOME="$JAVA_17_HOME" \
155155
156156RUN set -x \
157157 # Install Amazon Corretto 17
158- && yum install -y -q java-17-amazon-corretto \
158+ && rpm --import https://yum.corretto.aws/corretto.key \
159+ && curl -L -o /etc/yum.repos.d/corretto.repo https://yum.corretto.aws/corretto.repo \
160+ && yum install -y -q java-17-amazon-corretto java-17-amazon-corretto-devel \
159161 && update-ca-trust \
160162 && for tool_path in $JAVA_HOME/bin/*; do \
161163 tool=`basename $tool_path`; \
@@ -216,9 +218,9 @@ RUN rm -fr /tmp/* /var/tmp/*
216218
217219# Install Powershell Core
218220# See instructions at https://docs.microsoft.com/en-us/powershell/scripting/setup/installing-powershell-core-on-linux
219- ENV POWERSHELL_VERSION 7.2.4
221+ ENV POWERSHELL_VERSION 7.2.8
220222ENV POWERSHELL_DOWNLOAD_URL https://github.com/PowerShell/PowerShell/releases/download/v$POWERSHELL_VERSION/powershell-$POWERSHELL_VERSION-linux-x64.tar.gz
221- ENV POWERSHELL_DOWNLOAD_SHA 935B874A2E5F5662AB23EFBE7392DC96C27D4FD064041D28A25A487EC5F6CC2E
223+ ENV POWERSHELL_DOWNLOAD_SHA 28FF2653667AC63B508F0B98433E48F64E6BC1EC59F8C1D252BA89EB5A7441A2
222224
223225RUN set -ex \
224226 && curl -SL $POWERSHELL_DOWNLOAD_URL --output powershell.tar.gz \
@@ -229,7 +231,7 @@ RUN set -ex \
229231 && ln -s /opt/microsoft/powershell/$POWERSHELL_VERSION/pwsh /usr/bin/pwsh
230232
231233# DotNet 6.0
232- ENV DOTNET_60_SDK_VERSION="6.0.301 "
234+ ENV DOTNET_60_SDK_VERSION="6.0.405 "
233235ENV DOTNET_ROOT="/root/.dotnet"
234236
235237# Add .NET Core 6.0 Global Tools install folder to PATH
@@ -251,7 +253,7 @@ RUN set -ex \
251253
252254# **************** NODEJS ****************************************************
253255
254- ENV NODE_16_VERSION="16.15.1 "
256+ ENV NODE_16_VERSION="16.19.0 "
255257
256258RUN n $NODE_16_VERSION && npm install --save-dev -g -f grunt && npm install --save-dev -g -f grunt-cli && npm install --save-dev -g -f webpack \
257259 && curl -sSL https://dl.yarnpkg.com/rpm/yarn.repo | tee /etc/yum.repos.d/yarn.repo \
@@ -265,15 +267,15 @@ RUN n $NODE_16_VERSION && npm install --save-dev -g -f grunt && npm install --s
265267
266268# **************** RUBY *********************************************************
267269
268- ENV RUBY_31_VERSION="3.1.2 "
270+ ENV RUBY_31_VERSION="3.1.3 "
269271
270272RUN rbenv install $RUBY_31_VERSION && rm -rf /tmp/* && rbenv global $RUBY_31_VERSION && ruby -v
271273
272274# **************** END RUBY *****************************************************
273275
274276# **************** PYTHON *****************************************************
275277# Python 3.9
276- ENV PYTHON_39_VERSION="3.9.12 "
278+ ENV PYTHON_39_VERSION="3.9.16 "
277279ENV PYTHON_PIP_VERSION=21.1.2
278280ENV PYYAML_VERSION=5.4.1
279281
@@ -288,7 +290,7 @@ RUN set -ex \
288290# **************** END PYTHON *****************************************************
289291
290292# **************** PHP ****************************************************
291- ENV PHP_81_VERSION="8.1.6 "
293+ ENV PHP_81_VERSION="8.1.13 "
292294
293295COPY tools/runtime_configs/php/$PHP_81_VERSION /root/.phpenv/plugins/php-build/share/php-build/definitions/$PHP_81_VERSION
294296RUN phpenv install $PHP_81_VERSION && rm -rf /tmp/* && phpenv global $PHP_81_VERSION
@@ -299,7 +301,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin -
299301# **************** END PHP ****************************************************
300302
301303# **************** GOLANG ****************************************************
302- ENV GOLANG_18_VERSION="1.18.8 "
304+ ENV GOLANG_18_VERSION="1.18.9 "
303305ENV GOENV_DISABLE_GOPATH=1
304306ENV GOPATH="/go"
305307
@@ -317,10 +319,10 @@ FROM runtimes_1 AS runtimes_2
317319ENV DOCKER_BUCKET="download.docker.com" \
318320 DOCKER_CHANNEL="stable" \
319321 DIND_COMMIT="3b5fac462d21ca164b3778647420016315289034" \
320- DOCKER_COMPOSE_VERSION="1.26.0 "
322+ DOCKER_COMPOSE_VERSION="1.26.2 "
321323
322- ENV DOCKER_SHA256="9ccfc39305ae1d8882d18c9c431544fca82913d6df717409ac2244ac58c4f070 "
323- ENV DOCKER_VERSION="20.10.15 "
324+ ENV DOCKER_SHA256="945C3A3DDCB79EE7307496C2F39EB3D8372466E8654E63D60BBB462E4A3C1427 "
325+ ENV DOCKER_VERSION="20.10.22 "
324326
325327VOLUME /var/lib/docker
326328
@@ -345,13 +347,13 @@ RUN set -ex \
345347FROM runtimes_2 AS runtimes_3
346348
347349# Install GitVersion
348- ENV GITVERSION_VERSION="5.3.5 "
350+ ENV GITVERSION_VERSION="5.11.1 "
349351RUN set -ex \
350352 && dotnet tool install --global GitVersion.Tool --version $GITVERSION_VERSION \
351353 && ln -s ~/.dotnet/tools/dotnet-gitversion /usr/local/bin/gitversion
352354
353355# ===================END of runtimes_3 ==============
354- FROM runtimes_3 AS al2_v3
356+ FROM runtimes_3 AS al2_v4
355357
356358# Configure SSH
357359COPY ssh_config /root/.ssh/config
0 commit comments