Skip to content

Commit 60c43ea

Browse files
authored
[main] Update package baseline for Azure Linux 3.0 (#6423)
1 parent 82426c4 commit 60c43ea

2 files changed

Lines changed: 36 additions & 1 deletion

File tree

tests/Microsoft.DotNet.Docker.Tests/CommonRuntimeImageTests.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ protected void VerifyCommonShellNotInstalledForDistroless(ProductImageData image
6363
return;
6464
}
6565

66+
if (imageData.OS.Contains(OS.AzureLinux))
67+
{
68+
OutputHelper.WriteLine("Skipping test for Azure Linux due to https://github.com/dotnet/dotnet-docker/issues/6419");
69+
return;
70+
}
71+
6672
string imageTag = imageData.GetImage(ImageRepo, DockerHelper);
6773

6874
// Attempting to execute the container's shell should result in an exception.

tests/Microsoft.DotNet.Docker.Tests/ProductImageTests.cs

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,36 @@ internal static IEnumerable<string> GetExpectedPackages(ProductImageData imageDa
317317
"distroless-packages-minimal",
318318
"filesystem",
319319
"prebuilt-ca-certificates",
320-
"tzdata"
320+
"tzdata",
321+
// The following packages are not desired, but were brought in by an update to SymCrypt
322+
// Tracking issue: https://github.com/dotnet/dotnet-docker/issues/6419
323+
"acl",
324+
"attr",
325+
"bash",
326+
"bzip2-libs",
327+
"coreutils",
328+
"glibc",
329+
"gmp",
330+
"grep",
331+
"libacl",
332+
"libattr",
333+
"libcap",
334+
"libgcc",
335+
"libpcre2-16-0",
336+
"libpcre2-32-0",
337+
"libpcre2-8-0",
338+
"libpcre2-posix2",
339+
"libselinux",
340+
"libsepol",
341+
"libstdc++",
342+
"ncurses",
343+
"ncurses-libs",
344+
"openssl",
345+
"openssl-libs",
346+
"pcre2",
347+
"pcre2-tools",
348+
"readline",
349+
"zlib"
321350
},
322351
{ OS: string os } when os.Contains(OS.Mariner) => new[]
323352
{

0 commit comments

Comments
 (0)