File tree Expand file tree Collapse file tree
tests/Microsoft.DotNet.Docker.Tests Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments