@@ -36,7 +36,7 @@ RUN set -ex \
36
36
postgresql-devel procps-ng python-configobj readline-devel rsync sgml-common \
37
37
patch pkg-config procps python3-configobj llvm rsync sqlite-devel \
38
38
subversion-perl tar tcl tk vim wget which xfsprogs xmlto xorg-x11-server-Xvfb xz-devel \
39
- amazon-ecr-credential-helper git-lfs
39
+ amazon-ecr-credential-helper git-lfs runc
40
40
41
41
RUN useradd codebuild-user
42
42
@@ -357,6 +357,10 @@ RUN set -ex \
357
357
&& echo "${DOCKER_SHA256} *docker.tgz" | sha256sum -c - \
358
358
&& tar --extract --file docker.tgz --strip-components 1 --directory /usr/local/bin \
359
359
&& rm docker.tgz \
360
+ # replace runc package to resolve CVE-2024-21626
361
+ && rm /usr/local/bin/runc \
362
+ && ln -s /usr/sbin/runc /usr/local/bin/runc \
363
+ && runc -v \
360
364
&& docker -v \
361
365
# set up subuid/subgid so that "--userns-remap=default" works out-of-the-box
362
366
&& groupadd dockremap \
@@ -384,8 +388,8 @@ RUN set -ex \
384
388
FROM runtimes_2 AS runtimes_3
385
389
386
390
# DotNet
387
- ENV DOTNET_6_SDK_VERSION="6.0.417 "
388
- ENV DOTNET_8_SDK_VERSION="8.0.100 "
391
+ ENV DOTNET_6_SDK_VERSION="6.0.419 "
392
+ ENV DOTNET_8_SDK_VERSION="8.0.201 "
389
393
ENV DOTNET_6_GLOBAL_JSON_SDK_VERSION="6.0.0"
390
394
ENV DOTNET_8_GLOBAL_JSON_SDK_VERSION="8.0.0"
391
395
ENV DOTNET_ROOT="/root/.dotnet"
0 commit comments