File tree 7 files changed +43
-6
lines changed
7 files changed +43
-6
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ RUN set -ex \
237
237
&& ln -s /opt/microsoft/powershell/$POWERSHELL_VERSION/pwsh /usr/bin/pwsh
238
238
239
239
# DotNet 6.0
240
- ENV DOTNET_60_SDK_VERSION="6.0.410 "
240
+ ENV DOTNET_60_SDK_VERSION="6.0.418 "
241
241
ENV DOTNET_ROOT="/root/.dotnet"
242
242
243
243
# Add .NET Core 6.0 Global Tools install folder to PATH
@@ -338,6 +338,11 @@ RUN set -ex \
338
338
&& tar --extract --file docker.tgz --strip-components 1 --directory /usr/local/bin/ \
339
339
&& rm docker.tgz \
340
340
&& docker -v \
341
+ # replace runc package to resolve CVE-2024-21626
342
+ && yum -y install runc \
343
+ && rm -f /usr/local/bin/runc \
344
+ && ln -s /usr/sbin/runc /usr/local/bin/runc \
345
+ && runc -v \
341
346
# set up subuid/subgid so that "--userns-remap=default" works out-of-the-box
342
347
&& groupadd dockremap \
343
348
&& useradd -g dockremap dockremap \
Original file line number Diff line number Diff line change @@ -244,8 +244,8 @@ RUN curl https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip -o /tmp/awscli
244
244
&& aws --version
245
245
246
246
# DotNet 6.0
247
- ENV DOTNET_6_SDK_VERSION="6.0.417 "
248
- ENV DOTNET_8_SDK_VERSION="8.0.100 "
247
+ ENV DOTNET_6_SDK_VERSION="6.0.418 "
248
+ ENV DOTNET_8_SDK_VERSION="8.0.101 "
249
249
ENV DOTNET_6_GLOBAL_JSON_SDK_VERSION="6.0.0"
250
250
ENV DOTNET_8_GLOBAL_JSON_SDK_VERSION="8.0.0"
251
251
ENV DOTNET_ROOT="/root/.dotnet"
@@ -377,6 +377,11 @@ RUN set -ex \
377
377
&& tar --extract --file docker.tgz --strip-components 1 --directory /usr/local/bin/ \
378
378
&& rm docker.tgz \
379
379
&& docker -v \
380
+ # replace runc package to resolve CVE-2024-21626
381
+ && yum -y install runc \
382
+ && rm -f /usr/local/bin/runc \
383
+ && ln -s /usr/sbin/runc /usr/local/bin/runc \
384
+ && runc -v \
380
385
# set up subuid/subgid so that "--userns-remap=default" works out-of-the-box
381
386
&& groupadd dockremap \
382
387
&& useradd -g dockremap dockremap \
Original file line number Diff line number Diff line change @@ -86,6 +86,12 @@ RUN set -ex \
86
86
&& tar --extract --file docker.tgz --strip-components 1 --directory /usr/local/bin/ \
87
87
&& rm docker.tgz \
88
88
&& docker -v \
89
+ # replace runc package to resolve CVE-2024-21626
90
+ && amazon-linux-extras enable docker \
91
+ && yum -y install runc \
92
+ && rm -f /usr/local/bin/runc \
93
+ && ln -s /usr/sbin/runc /usr/local/bin/runc \
94
+ && runc -v \
89
95
# set up subuid/subgid so that "--userns-remap=default" works out-of-the-box
90
96
&& groupadd dockremap \
91
97
&& useradd -g dockremap dockremap \
Original file line number Diff line number Diff line change @@ -86,6 +86,12 @@ RUN set -ex \
86
86
&& tar --extract --file docker.tgz --strip-components 1 --directory /usr/local/bin/ \
87
87
&& rm docker.tgz \
88
88
&& docker -v \
89
+ # replace runc package to resolve CVE-2024-21626
90
+ && amazon-linux-extras enable docker \
91
+ && yum -y install runc \
92
+ && rm -f /usr/local/bin/runc \
93
+ && ln -s /usr/sbin/runc /usr/local/bin/runc \
94
+ && runc -v \
89
95
# set up subuid/subgid so that "--userns-remap=default" works out-of-the-box
90
96
&& groupadd dockremap \
91
97
&& useradd -g dockremap dockremap \
Original file line number Diff line number Diff line change @@ -434,6 +434,11 @@ RUN set -ex \
434
434
&& tar --extract --file docker.tgz --strip-components 1 --directory /usr/local/bin/ \
435
435
&& rm docker.tgz \
436
436
&& docker -v \
437
+ # replace runc package to resolve CVE-2024-21626
438
+ && apt-get update && apt-get -y install runc \
439
+ && rm -f /usr/local/bin/runc \
440
+ && ln -s /usr/sbin/runc /usr/local/bin/runc \
441
+ && runc -v \
437
442
# set up subuid/subgid so that "--userns-remap=default" works out-of-the-box
438
443
&& addgroup dockremap \
439
444
&& useradd -g dockremap dockremap \
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ FROM tools AS runtimes
143
143
144
144
# **************** .NET-CORE *******************************************************
145
145
146
- ENV DOTNET_6_SDK_VERSION="6.0.410 "
146
+ ENV DOTNET_6_SDK_VERSION="6.0.418 "
147
147
ENV DOTNET_ROOT="/root/.dotnet"
148
148
149
149
# Add .NET Core 6 Global Tools install folder to PATH
@@ -353,6 +353,11 @@ RUN set -ex \
353
353
&& tar --extract --file docker.tgz --strip-components 1 --directory /usr/local/bin/ \
354
354
&& rm docker.tgz \
355
355
&& docker -v \
356
+ # replace runc package to resolve CVE-2024-21626
357
+ && apt-get update && apt-get -y install runc \
358
+ && rm -f /usr/local/bin/runc \
359
+ && ln -s /usr/sbin/runc /usr/local/bin/runc \
360
+ && runc -v \
356
361
# set up subuid/subgid so that "--userns-remap=default" works out-of-the-box
357
362
&& addgroup dockremap \
358
363
&& useradd -g dockremap dockremap \
Original file line number Diff line number Diff line change @@ -159,8 +159,8 @@ FROM tools AS runtimes
159
159
160
160
# **************** .NET-CORE *******************************************************
161
161
162
- ENV DOTNET_6_SDK_VERSION="6.0.417 "
163
- ENV DOTNET_8_SDK_VERSION="8.0.100 "
162
+ ENV DOTNET_6_SDK_VERSION="6.0.418 "
163
+ ENV DOTNET_8_SDK_VERSION="8.0.101 "
164
164
ENV DOTNET_6_GLOBAL_JSON_SDK_VERSION="6.0.0"
165
165
ENV DOTNET_8_GLOBAL_JSON_SDK_VERSION="8.0.0"
166
166
ENV DOTNET_ROOT="/root/.dotnet"
@@ -397,6 +397,11 @@ RUN set -ex \
397
397
&& tar --extract --file docker.tgz --strip-components 1 --directory /usr/local/bin/ \
398
398
&& rm docker.tgz \
399
399
&& docker -v \
400
+ # replace runc package to resolve CVE-2024-21626
401
+ && apt-get update && apt-get -y install runc \
402
+ && rm -f /usr/local/bin/runc \
403
+ && ln -s /usr/sbin/runc /usr/local/bin/runc \
404
+ && runc -v \
400
405
# set up subuid/subgid so that "--userns-remap=default" works out-of-the-box
401
406
&& addgroup dockremap \
402
407
&& useradd -g dockremap dockremap \
You can’t perform that action at this time.
0 commit comments